VariableGapTermsIndexWriter

Selects index terms according to provided pluggable IndexTermSelector, and stores them in a prefix trie that's loaded entirely in RAM stored as an FST. This terms index only supports unsigned byte term sort order (unicode codepoint order when the bytes are UTF8).

Constructors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

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

Link copied to clipboard
abstract class IndexTermSelector

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

Functions

Link copied to clipboard
open override fun addField(field: FieldInfo, termsFilePointer: Long): TermsIndexWriterBase.FieldWriter
Link copied to clipboard
open override fun close()