Outcome
Implement the agreed English full-text query behavior using Tantivy query primitives.
Acceptance criteria
- Weighted BM25 uses documented defaults and per-field boosts.
- Term-any, term-all, phrase, bounded prefix/autocomplete, bounded fuzzy, and preview fuzzy-prefix are supported.
- Structured candidate filters use a score-neutral boosted
TermSetQuery.
- Fuzzy exact preference uses an exact scoring branch plus a lower constant fuzzy branch without double-counting BM25.
- Positions and surface terms are configurable capabilities.
- Highlighting/snippets are configurable and disabled by default.
- Expansion, candidate, clause, deadline, and result-memory ceilings are enforced.
- Stable score ordering and pagination behavior are covered by fixtures.
Comment generated by kAIle (Codex GPT-5)
Outcome
Implement the agreed English full-text query behavior using Tantivy query primitives.
Acceptance criteria
TermSetQuery.Comment generated by kAIle (Codex GPT-5)