wrolpi/modules
lrnselfreliance 839aadbb56
Doc section hints match each doc's rowid range, not each section (#1091)
#1087 limited the hint match to the page's section rowids with
`rowid IN (...)`.  FTS5 runs the whole MATCH again for every rowid, so the
cost grew with the page's sections: an all-doc page of a common word took
seconds even with a warm cache.

The match is now limited to each doc's range of section rowids (one
`rowid BETWEEN` per doc, read from covering indexes), so FTS5 runs at most
one MATCH per doc and reads only that doc's part of the match list.
A section of another doc inside a range is dropped by `ds.doc_id`.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 19:37:19 -07:00
..
archive Search: drop stopwords from unquoted terms, as Postgres did (#1085) 2026-12-03 17:16:36 -07:00
docs Doc section hints match each doc's rowid range, not each section (#1091) 2026-12-03 19:37:19 -07:00
flasher Configs without database rows read and validate only; imports run off the event loop (#874) 2026-10-25 15:17:31 -06:00
inventory The inventory legacy-date repair no longer takes the save lock during import (#915) 2026-11-02 11:58:42 -07:00
map Species: a monthly build of the packs, signed where the key is (#1036) 2026-11-30 15:05:22 -07:00
repos A malformed entry stops a backup preview or merge with an error naming it (#896) 2026-10-27 20:59:49 -06:00
torrents Torrents: refuse to download into the media directory itself (#1038) 2026-11-30 15:05:52 -07:00
videos Search: drop stopwords from unquoted terms, as Postgres did (#1085) 2026-12-03 17:16:36 -07:00
zim Bump libzim to 4, cachetools to 8, certifi, py7zr, uvicorn (#1079) 2026-12-01 15:44:18 -07:00
__init__.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00