tantivy icon indicating copy to clipboard operation
tantivy copied to clipboard

Phrase Query Top N Pruning

Open PSeitz opened this issue 1 year ago • 0 comments

Potential pruning optimization for phrase queries: The score of a phrase query is defined by how often a phrase occurs in a document (term_freq is equal to phrase_count). Once we have K (>=2) phrase_count in the Top N, we could fast skip if not all terms have at least K occurrences in the doc.

PSeitz avatar Oct 15 '24 09:10 PSeitz