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.

Constructors

Link copied to clipboard
constructor(size: Int)

Properties

Link copied to clipboard
val size: Int

return the maximum priority queue size

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(obj: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun rewrite(indexSearcher: IndexSearcher, query: MultiTermQuery): Query