Structs§
Enums§
Constants§
Functions§
- bfs
- communities_
from_ graph - compute_
idf - dfs
- filter_
graph_ by_ context - find_
node - has_
chinese - infer_
context_ filters - is_
searchable - load_
graph - load_
graph_ with_ cap - normalize_
context_ filters - pick_
seeds - query_
graph_ text - query_
graph_ text_ hybrid - Hybrid query: BM25 lexical + optional dense cosine, fused with RRF.
- query_
terms - query_
top_ nodes - Returns (node_id, label, source_file) for the top-K seeds from hybrid search.
- resolve_
context_ filters - resolve_
query - Load global graph from
graph_path, run BM25 query, return formatted source bodies for the top-k matching nodes. No dense embeddings (CLI). - rrf
- Reciprocal Rank Fusion over multiple ranked lists.
k=60is standard. - score_
nodes - search_
tokens - segment_
chinese - split_
camel - Split camelCase/PascalCase into lowercase tokens. Snake_case returned as-is (already meaningful in BM25). Original token is NOT included — caller already has it in bm25_ranked.
- strip_
diacritics - subgraph_
to_ text