View Single Post
Old 06-20-2014, 09:27 AM   #1
peterpisljar
Junior Member
peterpisljar began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2014
Device: pc
[GUI Plugin] Full Text Search (SOLR)

This is the first version of Full Text Search plugin using Apache Solr.

you can download the plugin here in the attachment or here (my google drive):
https://drive.google.com/file/d/0B6-...it?usp=sharing

and you can find the configured solr distribution here:
https://drive.google.com/file/d/0B6-...it?usp=sharing

install:
1. install "solrfulltextsearch_plugin.zip" plugin as usual in calibre
2. unzip "solr_dist.zip" somewhere on your hard drive
3. install java jre 1.7 if you dont already have it (it wont work on earlier versions)
4. in calibre open solr full text search preferences
4.1 set calibre library dir to your library dir. use forward slashes (even on windows) and dont include end /
4.2 set your jre path. if its in the path you dont need to do this.
4.3 set path to solr dir (where you unzipped it in step 2)
5. click "create solr index" to create new index. this will take a while. currently there is no reporting on the process. but you can open your browser to http://localhost:8983/solr/collection1/dataimport to see the status.
6. once index is created you can click solr full text search and browser will open with the search application. it will search full book contents and show you snippets.


i will provide some screenshots later


TODO:
- improve apache solr configuration to show better results
- improve index create/update so it will report on the status of the process
- integrate search inside calibre (instead of running in browser)
- remove calibre lib dir setting (its redundant, calibre already knows where the books are)


if you have comments/questions/suggestions/problems ... i will be monitoring this thread.
Attached Files
File Type: zip solrfulltextsearch_plugin.zip (41.2 KB, 462 views)

Last edited by peterpisljar; 06-25-2014 at 02:17 AM.
peterpisljar is offline   Reply With Quote