02-22-2022, 06:40 PM | #226 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2022
Device: Kindle Fire
|
It looks like the search request is not finding the index.
It creates an index with the ID: calibre-library-d6caee6b-5aa1-4295-8bb3-93d8b52dbc9a However the search is only looking for an index of library: path: /library/_search, params: {index=library} |
02-23-2022, 05:27 AM | #227 |
Connoisseur
Posts: 77
Karma: 90088
Join Date: Jul 2020
Device: android
|
Ah this might be the case if you downgraded and then upgraded version of Power Search. Try to uninstall the plugin, delete the file %APPDATA\calibre\plugins\caps.json (or move it to somewhere) and install the plugin again. For Linux path to the config json file is ~/.config/calibre/plugins/caps.json.
Last edited by mapozyan; 02-23-2022 at 05:32 AM. |
Advert | |
|
02-24-2022, 07:22 PM | #228 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2022
Device: Kindle Fire
|
Thanks for the help. I couldn't get too far - I tried doing a bit of debugging, but I'm not super experienced with python and never touched calibre plugins before so gave up.
I went back to the elastic search 7 stream and manually installed. Everything is good now. I hope. |
03-04-2022, 01:11 PM | #229 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Dec 2016
Device: Kindle
|
ElasticSearch Time Out
I don't know what I am doing wrong. When I try to run this - I get an error - that ElasticSearch timed out waiting to start.
|
03-04-2022, 03:34 PM | #230 |
Custom User Title
Posts: 8,721
Karma: 62000001
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
1. Make sure the right path is in the plugin config. If you recently updated it changes the version number.
2. If that doesn't work, open elasticsearch.exe ({InstallDir}\7.16.1\bin\elasticsearch.exe) and try again. |
Advert | |
|
03-08-2022, 03:44 PM | #231 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2011
Device: none
|
I cannot install Elacticsearch. There is no MSI.
Greetings to all.
Today I discovered this add-on and I am very excited about what I can do with it. However, I cannot install Elasticsearch. On your website there is no msi executable for windows 10, there is only a zip with the elasticsearch-8.1.0-windows-x86_64 folder. I tried to use the exe's from the Bin subfolder with no result. Elacticsearch.bat file opens a cmd console but nothing else. It also does not connect to the server, although the win10 firewall asked me for permission and I gave it. The instructions on the Elacticsearch web site are very confusing to me, as they refer to the use of code (I am a philosopher, not a computer guy). Placing the path in the "options" section of PowerSearch does not work either. I would appreciate any help, as this add-on would be very useful in my daily work. I use Calibre 5.37. Win10 and my pc is an i5-4460, 3.20GHz. 16 gb ram. |
03-08-2022, 04:07 PM | #232 | |
Bibliophagist
Posts: 35,916
Karma: 145678910
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
https://artifacts.elastic.co/downloa...rch-7.16.1.msi As far as I know, that was the last version that came with an MSI installer since part of the breaking news for v7.17 said no more MSI. See ElasticSearch Breaking Changes for the official announcement. Edit: Actually use the 7.16.3 installer from ElasticSearch_7.16.3 Last edited by DNSB; 03-16-2022 at 01:20 AM. |
|
03-08-2022, 04:16 PM | #233 | |
Diligent dilettante
Posts: 3,417
Karma: 48736498
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
|
Quote:
|
|
03-09-2022, 10:20 AM | #234 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2011
Device: none
|
Thank you very much.
Now I was able to install ElacticSearch with the older MSI version. This is the path I put in the PowerSearch options: C:\ElasticElasticSearch.exe I have some doubts about the operation: 1.- I started to do the first indexing of my only library, but Pdftotext starts to open files in cascade which saturates the screen, so I had to stop it. The path in options that I put is: C:\Program Files\Glyph & Cog\XpdfReader-win64\xpdf.exe Is it ok? 2.- I have a very large library of more than 36,000 books in pdf, epub, mobi, cbz, cbr and doc. (221 gb) on a ssd for faster access. I saw in the thread that Power Search goes up to 10,000, but it was not clear to me if it is a limit on initial indexing or is it a limit on search results. 3.- Seeing what other users have taken I think my library would be indexed in several days, I have no problem with that. But is there any way to index the first time in parts so as not to saturate the computer? 4.- I left 1.5 gb of ram in ElacticSearch according to what I read before. In Windows 10 Task Manager I saw that Calibre, using Power Search, consumes 30% of the memory and has a high power consumption. I use Calibre 5.37. Win10 and my pc is an Intel i5-4460 (4 cores), 3.20GHz. 16 gb ram. What other settings can be made to make the computer run smoothly while doing the first indexing? 5.- Finally, I have my Calibre library duplicated on another computer. Is there any way to get the initial indexing to the other pc or do I have to do it again on the other computer? Thank you very much for your answers. Last edited by retval; 03-09-2022 at 10:30 AM. |
03-09-2022, 10:56 PM | #235 | ||||
Guru
Posts: 935
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
Quote:
Quote:
Quote:
Don't know. |
||||
03-09-2022, 11:25 PM | #236 | |
Bibliophagist
Posts: 35,916
Karma: 145678910
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Basically, you were opening every PDF file to view it so you would see your screen getting very, very busy. |
|
03-10-2022, 04:46 AM | #237 |
Connoisseur
Posts: 77
Karma: 90088
Join Date: Jul 2020
Device: android
|
Good question. I will check the options. (From what I know ElasticSearch is having a feature called snapshots, so need to see how to use it properly)
|
03-15-2022, 10:44 AM | #238 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2011
Device: none
|
strange behavior
Greetings to all. Thank you for your replies.
I was able to install the programs correctly. Elasticsearch was left with this path in PowerSearch C:\Program Files\Elasticsearch\7.16.1\bin\elacticsearch.exe Pdftotext was left here: C:\Program Files\xpdf-tools-win-4.03\bin64\pdftotext.exe As I indicated before I have more than 36000 books. That is why the first indexing took more than 12 hours (I don't know precisely because it finished in the early hours of the morning). For statistical purposes I use an i5-4460, 3.20GHz. 16gb ram. At 2 hours the windows 10 manager indicated a usage of 30% CPU, 50% Ram and 40° of temperature on the ssd. It could continue to work normally on the pc. After 8 hours it occupied 100% of the CPU, 94% of the ram and 43° of heat. It could no longer work, as it consumed all the resources. Of the 4 cores of the processor only 2 were used and 1.5 gb of ram for ElacticSearch. Is this behavior normal? After the first indexing I did some searches and it reached 20% after an hour. I think it may be because of the large number of books. I tried it several times and the result was similar. When I cancelled the search it showed me the results I had already achieved. The strange thing is that putting few books, about 20, and doing a search only in those selected books it searches the whole library, which is very slow. When cancelling it shows the results in the selected books. The logical thing is that the search on selected books does not use the whole library. I don't understand this. Another strange thing is that there is always running an ElacticSearch process called "OpenJDK Platform binary" located in C:\Program Files\ElasticElasticsearch\7.16.1\jdk\bin\java.exe which takes up about 250mb of ram even though Calibre is closed. In fact it starts with windows 10. How can that process be closed automatically so as not to waste resources? One suggestion is to have PowerSearch display a result that indicates how many times the search term is found in each book. This could perhaps be displayed in an additional column. Then we could see the books in which the search finds better results, at least quantitatively.. Thanks again. |
03-15-2022, 11:10 AM | #239 | |
Bibliophagist
Posts: 35,916
Karma: 145678910
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
03-15-2022, 01:24 PM | #240 | |
Connoisseur
Posts: 77
Karma: 90088
Join Date: Jul 2020
Device: android
|
Quote:
No need to worry about it. PowerSearch will start ElasticSearch if needed and will also stop it when you close Calibre! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
[GUI Plugin] Recoll Full Text Search | Satas | Plugins | 16 | 08-05-2016 03:54 AM |
[GUI Plugin] Full Text Search (SOLR) | peterpisljar | Plugins | 2 | 08-09-2015 08:16 AM |
Make a simple Plugin for Full Text Search using Recoll | Satas | Development | 9 | 07-20-2013 04:15 PM |