TopTermsRewrite

abstract class TopTermsRewrite<B>(val size: Int) : TermCollectingRewrite<B>

Base rewrite method for collecting only the top terms via a priority queue.

Inheritors

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