TopTermsBoostOnlyBooleanQueryRewrite
A rewrite method that first translates each term into BooleanClause.Occur.SHOULD clause in a BooleanQuery, but the scores are only computed as the boost.
This rewrite method only uses the top scoring terms so it will not overflow the boolean max clause count.
Functions
Link copied to clipboard
fun collectTerms(reader: IndexReader, query: MultiTermQuery, collector: TermCollectingRewrite.TermCollector)
Link copied to clipboard