Skip to main content

Module search

Module search 

Source
Expand description

Hybrid code search: native LanceDB retrieval (BM25 + vector via RRF) followed by comindly’s code-aware rerank — definition/exact-name boosts, structured path penalties, LLM-query recall boost, and a dependency-graph centrality signal no pure search tool has.

Shared by the comindly search CLI and the search MCP tool.

Structs§

SearchHit
One ranked search result.

Functions§

hybrid
Retrieve candidates for query through the open tables and rank them. limit caps results.
hybrid_blocking
Blocking variant for the CLI (spawns its own runtime under the hood).
markdown
Render ranked hits as markdown for handoff to an agent (or --format md on the CLI).
rank_candidates
Apply comindly’s code-aware + centrality boosts to native-retrieval candidates (id, base).

Type Aliases§

Enrichment
Per-symbol LLM enrichment keyed by rendered symbol id: (summary, generated_queries).