View Single Post
Old 06-24-2018, 10:55 AM   #1
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
[Feature suggest] Maintenance option: Reindexed the library

First one, a trivial question:
What is the theoretical limit of the library index?
I guess that's an unattainable number, but I'm curious

The thread question:
Would it be possible to make an option of maintenance of the library which allows to re-index the books and to fill the possible voids in the numbering?


So, Yes, I know this is a very delicate operation. The user interface must ther be frozen to prevent any library modification during the process.
But as the operation can be very long, it would be necessary to leave a button "Stop reindexing". Once this button is clicked, Calibre finishes the current book then release the user control.

_____________

Currently, when a book is added, Calibre gives it "last index+1". It is a simple solution, fast and without headache.
I'm nothing against it, and it would be monstrously and unnecessarily complicated to test the free indexes when adding a book (and slowed Calibre)

But, a separate maintenance option, why not.
un_pogaz is offline   Reply With Quote