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: 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.
Attached Files
File Type: zip Recoll Full Text Search.zip (1.47 MB, 187161 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
Resident Curmudgeon
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.
 
JSWolf's Avatar
 
Posts: 73,645
Karma: 127837858
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.
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: 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?
Satas is offline   Reply With Quote
Old 04-19-2013, 09:59 PM   #4
JSWolf
Resident Curmudgeon
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.
 
JSWolf's Avatar
 
Posts: 73,645
Karma: 127837858
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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: 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.
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,600
Karma: 2092290
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.
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: 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 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: 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.
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,600
Karma: 2092290
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.
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: 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>
...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
Old 04-23-2016, 03:03 PM   #11
LikeBooks
Member
LikeBooks began at the beginning.
 
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?
LikeBooks is offline   Reply With Quote
Old 04-23-2016, 03:14 PM   #12
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: 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
Satas is offline   Reply With Quote
Old 04-23-2016, 03:36 PM   #13
LikeBooks
Member
LikeBooks began at the beginning.
 
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 03:39 PM.
LikeBooks is offline   Reply With Quote
Old 04-23-2016, 05:40 PM   #14
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Calibre Plug-ins for Full-Text Searches

See:

https://www.mobileread.com/forums/sho...d.php?t=271816

and/or:

https://www.mobileread.com/forums/sho...d.php?t=261712





DaltonST
DaltonST is offline   Reply With Quote
Old 04-24-2016, 06:12 AM   #15
LikeBooks
Member
LikeBooks began at the beginning.
 
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.
LikeBooks 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
[GUI Plugin] Search the Internet kiwidude Plugins 422 Yesterday 04:53 PM
[GUI Plugin] Walk Search History kiwidude Plugins 38 03-17-2024 12:47 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 24 03-16-2024 11:06 PM
Make a simple Plugin for Full Text Search using Recoll Satas Development 9 07-20-2013 04: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 12:13 PM


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


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