Skip to main content

Module search

Module search 

Source

Structs§

SearchOptions
Configuration options for search operations

Functions§

adapt_rrf_k
Detect query type and adapt RRF-k accordingly Returns (vector_k, fts_k) based on query characteristics
boost_kind
Boosts results that match a specific ChunkKind by a factor
detect_identifiers
Detect if query contains likely code identifiers
detect_structural_intent
Detects structural intent in user queries (e.g., “class X”, “function foo”) Returns the ChunkKind that matches the intent, if any
read_metadata
Read model metadata from database
search
Search the codebase