Class SpanMultiTermQueryWrapper<Q>.TopTermsSpanBooleanQueryRewrite
A rewrite method that first translates each term into a SpanTermQuery in a SHOULD clause in a BooleanQuery, and keeps the scores as computed by the query.
This rewrite method only uses the top scoring terms so it will not overflow the boolean max clause count.
Inheritance
System.Object
SpanMultiTermQueryWrapper<Q>.TopTermsSpanBooleanQueryRewrite
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class TopTermsSpanBooleanQueryRewrite : SpanRewriteMethod
Constructors
Name | Description |
---|---|
TopTermsSpanBooleanQueryRewrite(Int32) | Create a SpanMultiTermQueryWrapper<Q>.TopTermsSpanBooleanQueryRewrite for
at most |
Properties
Name | Description |
---|---|
Count | return the maximum priority queue size. NOTE: This was size() in Lucene. |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetHashCode() | |
Rewrite(IndexReader, MultiTermQuery) |