Class TopTermsRewrite<Q>
Base rewrite method for collecting only the top terms via a priority queue.
@lucene.internal - Only public to be accessible by spans package.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class TopTermsRewrite<Q> : TermCollectingRewrite<Q>, ITopTermsRewrite where Q : Query
Type Parameters
Name | Description |
---|---|
Q |
Constructors
Name | Description |
---|---|
TopTermsRewrite(Int32) | Create a TopTermsRewrite<Q> for
at most
NOTE: if MaxClauseCount is smaller than
|
Properties
Name | Description |
---|---|
Count | Return the maximum priority queue size. NOTE: This was size() in Lucene. |
MaxSize | Return the maximum size of the priority queue (for boolean rewrites this is MaxClauseCount). |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetHashCode() | |
Rewrite(IndexReader, MultiTermQuery) |