04-19-2013, 10:34 PM | #1 |
Member
Posts: 15
Karma: 3088
Join Date: Apr 2013
Device: none
|
[GUI Plugin] Recoll Full Text Search
Recoll Full Text Search Plugin
============================== Created by Stanislav Kazmin (April 2013) Requires Calibre >= 0.9.25 (actually I think, it will run on much earlier versions) Runs only on unix systems (uses recoll which is only available for linux). This Plugin uses Recoll as a backend program to do a full text search inside the whole library and then display the matches in calibre. It is build very simple and has only a few self explaining features. Install ============================== Steps to get this plugin working: 1. install thins plugin as a usual on in calibre 2. make a new custom column in calibre 2.1. Go to Preferencies - add you own columns 2.2. create a new column with: 2.2.1. Lookup name: cid 2.2.2. Column heading: CID 2.2.3. Column type: Column built from other columns 2.2.4. Template: {id} 2.2.5. Sort/Search column by: number 3. install recoll on you system 4. copy the directory "recollFullTextSearchPlugin" from the zip file to the calibre config plugins directory (usually on unix systems: $HOME/.config/calibre/plugins 5. When you start calibre, a new icon for the plugin can be seen in the panel 6. before use the the plugin for the first time, make sure the paths for the plugin are set right (check out plugins preferences for do so) 7. Make create a database for recoll using the button in the plugin (can take a lot of time for the first time) 8. Thats it The recoll config file is set up to not search for jpg png json or opf files so you should not get worng results. The recoll database is saved in the config directory of calibre so you can use recoll as normal program with an second database and other conf file (mostly the standard one). I do not know exactly, when the ids for the books are changed by calibre so I recommend to make a database update quite often and from time to time make a new database. Unless you do not add new books I am not a programmer but a physician so it was a hard work for me to get everything done. I think, if someone has more time, there are a lot of things to improve. So feel free to change this plugin on you own. I am not in intention to do so in the next time. Changes since 1.0.0 ============================== 1.0.1 - changed search window to have a list of last searches - new about window - new message when updating the recoll library For information about recoll look at: http://www.lesbonscomptes.com/recoll/ Feel free to ask me some questions. But it can take a time till I have the time to answer it. Be patient please. Last edited by Satas; 04-24-2013 at 07:15 PM. |
04-19-2013, 10:40 PM | #2 |
Resident Curmudgeon
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you make this available via the plugin option, will you be able to limit installation only for Linux? If not, don't make it available as it will cause endless hassles.
|
Advert | |
|
04-19-2013, 10:44 PM | #3 |
Member
Posts: 15
Karma: 3088
Join Date: Apr 2013
Device: none
|
So what do I to do now? I thought it would be nice and helpful for some people using linux so I share it here. Is that wrong?
|
04-19-2013, 10:59 PM | #4 | |
Resident Curmudgeon
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The problem comes if you submit it for the plugin list. If Calibre can not separate plugins by OS, then Windows and OS X users might be trying it. |
|
04-19-2013, 11:06 PM | #5 |
Member
Posts: 15
Karma: 3088
Join Date: Apr 2013
Device: none
|
That is not a big problem, because the only thing is, it will do nothing. But there shouldn't be any errors.
And maybe someone knows a program for windows to use my plugin with. Than it could be possible to make it run on windows, too. |
Advert | |
|
04-20-2013, 11:44 AM | #6 |
Calibre Plugins Developer
Posts: 4,685
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Calibre will not attempt to load a plugin that has the appropriate supported_platforms set on it. Likewise the Plugin Updater plugin which is what parses the plugin index page also uses that same text from the plugin index page to prevent the user from being given the option to install the plugin if the list of supported OS does not include their own.
We don't actually have any plugins in the index that are not cross platform at the moment but if we were ever asked to add this plugin to the main index it wouldn't be an issue. |
04-20-2013, 12:28 PM | #7 |
Member
Posts: 15
Karma: 3088
Join Date: Apr 2013
Device: none
|
I am not so good in English. And it is my first plugin.
So I ask you, have I to do something now or is it just ok to let the plugin here in the forum and doing nothing? Last edited by Satas; 04-20-2013 at 12:37 PM. |
04-20-2013, 12:39 PM | #8 |
Member
Posts: 15
Karma: 3088
Join Date: Apr 2013
Device: none
|
And maybe it could be possible to run recoll as a backend if calibre would provide all the necessary libs on windows, too? Than it could be a crossplatform plugin... But I do not know what is needed to do so.
|
04-20-2013, 12:55 PM | #9 |
Calibre Plugins Developer
Posts: 4,685
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
You are perfectly welcome to have a plugin here in the forums. *If* you want the plugin to be added to the index of plugins thread (so that it appears available for users to download from Calibre via Preferences -> Get plugins) then you have to follow the instructions that are in the spoiler at the top of that index of plugins sticky thread. However you don't *have* to have your plugin added to the index if you don't want to.
|
04-14-2014, 04:49 AM | #10 |
Addict
Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
thank you for the great plugin!
Working under linux, I use recoll since when it was first available, a wonderful search engine (when compared with the annoying nepomuk), and in fact I used it already to search for books in my calibre directory. However, I am having troubles to make the plugin work. I followed your instructions, but at the end, asking for it to build a new database, if I search in the running processes I see Code:
[recollindex] <defunct> The only thing I changed in the plugin prefs is the calibre library directory, which is in a non-standard position (/0ale/excursions/books/calibre database). Since the plain recoll works good in my system, I wondered if you have any hint... |
04-23-2016, 04:03 PM | #11 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2011
Location: Germany
Device: Sony PRS-600, PRS+
|
Recoll has been released for Windows (14 April 2016).
http://www.lesbonscomptes.com/recoll...l-windows.html Any chance to get the plugin for windows, too? |
04-23-2016, 04:14 PM | #12 |
Member
Posts: 15
Karma: 3088
Join Date: Apr 2013
Device: none
|
Hello, unfortunately I do not use this Plugin since some years so I am not going to do more improvements on it. Generally it should be possible to use it on windows in some way: either you can use Recoll (which I think is not the case) of you rewrite the plugin to use some windows tool for full text search and replace Recoll in this way.
Sorry for this. Satas |
04-23-2016, 04:36 PM | #13 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2011
Location: Germany
Device: Sony PRS-600, PRS+
|
Thank you for the quick reply. You are right, the plugin needs some rewriting. I enabled the plugin for windows, but it does not even show up in the GUI. I´ll keep trying, but I am new to python, so that´s practically where my python knowledge ends
I can understand that you won´t rewrite the plugin, but maybe someone else will. Full-text search is a beautiful feature, so I´ll keep my hopes up. Last edited by LikeBooks; 04-23-2016 at 04:39 PM. |
04-23-2016, 06:40 PM | #14 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Calibre Plug-ins for Full-Text Searches
|
04-24-2016, 07:12 AM | #15 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2011
Location: Germany
Device: Sony PRS-600, PRS+
|
Thank you, DaltonST. I was not aware of your plugins.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 434 | 09-30-2024 04:04 AM |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 11:05 PM |
[GUI Plugin] Walk Search History | kiwidude | Plugins | 38 | 03-17-2024 01:47 AM |
Make a simple Plugin for Full Text Search using Recoll | Satas | Development | 9 | 07-20-2013 05:15 PM |
Google Book Search to search full-text books online | Bob Russell | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-19-2006 01:13 PM |