Files
paperless-ngx/src/documents
Trenton HolmesandClaude Sonnet 5 bb0d0fc6c0 fix(search): migrate off whoosh-compat's removed QueryEmitError/UnsupportedQueryError
whoosh-compat replaced both exception classes with a single QueryError
carrying a structured Diagnostic (kind/cause/field_kind); the old
message-text regex stripping is now dead weight since the library no
longer embeds host-facing wording (DIVERGENCES refs, fast=True advice)
in Diagnostic.message. Branch on diagnostic.kind instead.

Also trims a test that was re-asserting whoosh-compat's own message
contract (now covered by its own test_kind_matrix.py) down to the one
rewrite paperless still owns: EXISTS_REQUIRES_FAST's user-facing message.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-19 13:36:53 -07:00
..
2026-05-26 16:46:23 +00:00
2026-05-20 08:54:00 -07:00