Skip to main content

ANN_CANDIDATE_COUNT

Constant ANN_CANDIDATE_COUNT 

Source
pub const ANN_CANDIDATE_COUNT: usize = 50;
Expand description

Number of ANN candidates to retrieve before staleness re-ranking.

Fetching more candidates gives the re-ranker more material to work with; the caller can truncate to a smaller top_k afterwards.