Skip to main content

Module search

Module search 

Source
Expand description

Fuzzy search over the graph — substring + qualified-path match with deterministic ranking. Wraps GraphStore::lookup_symbol(fuzzy=true) and a list_all_nodes scan to also match on qualified_name, then ranks.

Ranking signal (higher score = better):

  • exact name match: +100
  • prefix name match: +60
  • substring in name: +30
  • substring in qualified_name only: +10
  • shorter names rank above longer when scores tie
  • kind boost: Function/Method/Struct/Trait > others

Structs§

SearchHit

Functions§

search
Run a fuzzy search across all nodes of branch. The lookup matches both name and qualified_name. Results are deduped by node id and sorted by descending score.