Skip to main content

evaluate_fts

Function evaluate_fts 

Source
pub fn evaluate_fts(
    request: &TextSearchRequest,
    analyzer: &str,
    seed_chars: usize,
    docs: &[TextIndexDoc],
) -> Result<Vec<Vec<u8>>, TextIndexError>
Expand description

Evaluate a full-text request over the in-house documents.

analyzer and seed_chars must be the values the plan was rewritten under (they ride the op payload; the plan-time fingerprint comparison ties them to the partition’s stored configuration). The request’s per-drain limit is deliberately ignored: it guards candidate materialization on the sweep road, while the direct road’s universe is the pushed set itself, already in memory.