Expand description
In-memory inverted index for fast node lookup.
Provides SearchIndex which tokenizes node labels, ids, and source files
into an inverted index for sub-linear search across the knowledge graph.
Structs§
- Search
Index - In-memory inverted index mapping tokens to weighted
(node_id, weight)pairs.
Functions§
- tokenize
- Split
inputon camelCase boundaries,_,.,::,/,\,-, and whitespace. Returns all-lowercase, non-empty tokens.