Skip to main content

score_text_query

Function score_text_query 

Source
pub fn score_text_query(
    index: &dyn InvertedIndex,
    table: &str,
    field: &str,
    query: &str,
    mode: &ScoringMode,
    top_k: usize,
    strategy: TextSearchAlgorithm,
) -> Result<TextSearchProfile, TextSearchError>
Expand description

Analyze the complete query with the retained field revision and execute its physical scoring strategy.