Skip to main content

SEARCH_BATCH_FIRST_PAGE

Constant SEARCH_BATCH_FIRST_PAGE 

Source
pub const SEARCH_BATCH_FIRST_PAGE: u32 = 3;
Expand description

The rows each search of a graphql::SEARCH_BATCH request asks for on its first page.

A batched find asks narrowed questions that each expect a handful of answers, and every search slot is priced at its page size: three rows a slot keep a first round of SEARCH_BATCH searches at three points, where a page of SEARCH_PAGE_SIZE each would cost twenty. A search with more to answer is walked on at SEARCH_PAGE_SIZE rows a page.