Skip to main content

Module search

Module search 

Source
Expand description

Search pipeline with UTF-8-safe query routing and FTS5-backed flat/tree scoring.

Two-stage pipeline:

  1. FTS5 pre-scoring: batch score all documents
  2. Mode routing: flat mode (FTS5 results directly) or tree mode (tree walk + reranking)

Functionsยง

search
Unified search entry point.
search_with_options