Prepare search deletions without caching them #180

Merged
jcoffey-dev merged 1 commits from fix/unindex-statement-cache into main 2026-10-08 23:07:32 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev fa87b86f3a Prepare search deletions without caching them
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 7m45s
The index task deletes a batch of documents with one `docid = $n` term
per document, so every batch shape is new SQL text. The connection's
statement cache has no limit and kept each of them, on both sides, for
the life of the connection. Deletions are maintenance; they are now
prepared for the one use, and the statement is closed after it.
2026-10-08 15:59:14 -07:00