mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-12 13:47:16 -04:00
A book the index does not hold cannot be found by any positive filter, and every negated filter - which resolves to every document in the index - drops it from the grid instead. That is why issue #1989 reads as half a working filter: Absent found nothing while -Absent removed exactly the absent books. The index is only ever written as a whole, and a rebuild that fails is deliberately swallowed so a bad index cannot fail a good scan, so a short index stayed short until something else changed the library. Count the index against the library once per run and rebuild when it is short. Co-authored-by: rmcrackan <rmcrackan@gmail.com>