Skip to main content

keyword_recall_sql

Function keyword_recall_sql 

Source
pub fn keyword_recall_sql(
    node_table: &str,
    tokens: &[String],
    filter: &RecallFilter,
    limit: usize,
) -> String
Expand description

Keyword recall: rank latest memories by how many query tokens appear in content/title/tags. Each LIKE triggers the extent token-set pruning (ContainsTokens) so this is index-accelerated. Excludes rows with no hit.