View Single Post
Old 09-09-2023, 11:31 AM   #1
calibrejunkie
Page Junkie Dev
calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.calibrejunkie got an A in P-Chem.
 
calibrejunkie's Avatar
 
Posts: 37
Karma: 6280
Join Date: Jul 2018
Location: Earth
Device: Android Phone, Kindle, Surface Pro 3
Question Can you backup and replace Full Text Search database to speed up reindexing process?

Hello,

So of course, full text search is an amazing addition to calibre.

So my library is very large which means I have a ridiculously large full text search database which takes ages to regenerate if needed, and I was wondering hypothetically if the following would work?

I have an existing full text search database file in my calibre directory.

I make a backup of this file and store it elsewhere.

Something happens to my live full text database and I need to rebuild the database, but there have been say, 100 items added since the last backup.

I turn off full text search to erase the old corrupt version of the database.

I turn it on briefly so it can index a few books and generate a new full text search database with a few items indexed in it.

I shutdown calibre and overwrite the small index I just generated with the backup copy, then restart calibre again.

Will this new replacement index work, and if it does, will it know to index the missing books since it is out of date from the previous one?

Thanks for reading!
calibrejunkie is offline   Reply With Quote