Skip to main content

MAX_SORT_BUFFER

Constant MAX_SORT_BUFFER 

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

Default cap on the in-memory sort buffer. The query layer reads at most this many surviving documents into RAM before sorting; a scan that produces more candidates surfaces Error::SortBufferExceeded. M8 #66.