EveryNOrDocFreqTermSelector

Sets an index term when docFreq >= docFreqThresh, or every interval terms. This should reduce seek time to high docFreq terms.

Constructors

Link copied to clipboard
constructor(docFreqThresh: Int, interval: Int)

Functions

Link copied to clipboard
open override fun isIndexTerm(term: BytesRef, stats: TermStats): Boolean

Called sequentially on every term being written, returning true if this term should be indexed

Link copied to clipboard
open override fun newField(fieldInfo: FieldInfo)

Called when a new field is started.