Skip to main content

VECTOR_INDEX_ACTIVATION_ROWS

Constant VECTOR_INDEX_ACTIVATION_ROWS 

Source
pub const VECTOR_INDEX_ACTIVATION_ROWS: usize = 100_000;
Expand description

Embedded-row count at which pond builds the IVF_PQ vector index on messages.vector (spec.md#search). Below it, vector search runs a brute-force flat scan - exact and fast at small and medium scale, and IVF_PQ cannot train well on fewer vectors anyway.