Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2013, 09:34 PM   #1
Satas
Member
Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.
 
Posts: 14
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.
Attached Files
File Type: zip Recoll Full Text Search.zip (1.47 MB, 10728 views)

Last edited by Satas; 04-24-2013 at 06:15 PM.
Satas is offline   Reply With Quote
Old 04-19-2013, 09:40 PM   #2
JSWolf
Suspended
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
Posts: 35,392
Karma: 16147088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
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.
JSWolf is offline   Reply With Quote
Old 04-19-2013, 09:44 PM   #3
Satas
Member
Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.
 
Posts: 14
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?
Satas is offline   Reply With Quote
Old 04-19-2013, 09:59 PM   #4
JSWolf
Suspended
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
Posts: 35,392
Karma: 16147088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Satas View Post
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?
No problem sharing it here. You have put in the warning.

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.
JSWolf is offline   Reply With Quote
Old 04-19-2013, 10:06 PM   #5
Satas
Member
Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.
 
Posts: 14
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.
Satas is offline   Reply With Quote
Old 04-20-2013, 10:44 AM   #6
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,220
Karma: 1333994
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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.
kiwidude is offline   Reply With Quote
Old 04-20-2013, 11:28 AM   #7
Satas
Member
Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.
 
Posts: 14
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 11:37 AM.
Satas is offline   Reply With Quote
Old 04-20-2013, 11:39 AM   #8
Satas
Member
Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.Satas could sell banana peel slippers to a Deveel.
 
Posts: 14
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.
Satas is offline   Reply With Quote
Old 04-20-2013, 11:55 AM   #9
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,220
Karma: 1333994
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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.
kiwidude is offline   Reply With Quote
Old 04-14-2014, 03:49 AM   #10
alexxxm
Addict
alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.
 
Posts: 204
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>
...which is not a good sign.
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...
alexxxm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make a simple Plugin for Full Text Search using Recoll Satas Development 9 07-20-2013 04:15 PM
[GUI Plugin] Search the Internet kiwidude Plugins 195 03-29-2013 01:15 AM
[GUI Plugin] Walk Search History kiwidude Plugins 5 09-11-2011 09:18 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 4 09-11-2011 06:14 AM
Google Book Search to search full-text books online Bob Russell Deals, Freebies, and Resources (No Self-Promotion) 1 08-19-2006 12:13 PM


All times are GMT -4. The time now is 06:41 AM.


MobileRead.com is a privately owned, operated and funded community.