Skip to main content

Module search

Module search 

Source
Expand description

Information-theoretic code search pipeline (3-stage: prefilter, filter, KMI rerank).

Structs§

SearchOptions
Tunables for the three-stage information-theoretic search pipeline.
Snippet
One scored retrieval unit returned by code search.

Enums§

SearchGranularity
Candidate unit granularity for stage-0/1 collection.
Stage2PriorMode
Stage-2 prior handling strategy for KMI reranking.

Constants§

DEFAULT_SEARCH_COMPRESSION_BACKEND_NAME
Default compression backend name used by CLI search when no backend flags are supplied.
DEFAULT_SEARCH_RATE_BACKEND_NAME
Default rate backend name used by CLI search when no backend flags are supplied.

Functions§

run_search
Run search with default options and print top shell extraction commands.
run_search_with_options
Run search with explicit options and print top shell extraction commands.
search_with_options
Run the full 3-stage search pipeline and return ranked results.