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§
- Search
Hit - One ranked search result.
Functions§
- hybrid
- Retrieve candidates for
querythrough the opentablesand rank them.limitcaps 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 mdon 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).