TermCollector

abstract class TermCollector

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

attributes used for communication with the enum

Functions

Link copied to clipboard
abstract fun collect(bytes: BytesRef): Boolean

return false to stop collecting

Link copied to clipboard
abstract fun setNextEnum(termsEnum: TermsEnum)

the next segment's TermsEnum that is used to collect terms

Link copied to clipboard
fun setReaderContext(topReaderContext: IndexReaderContext, readerContext: LeafReaderContext)