IndexTermSelector

abstract class IndexTermSelector

Hook for selecting which terms should be placed in the terms index.

.newField is called at the start of each new field, and .isIndexTerm for each term in that field.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract 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
abstract fun newField(fieldInfo: FieldInfo)

Called when a new field is started.