C# Класс Lucene.Net.Codecs.BlockTerms.VariableGapTermsIndexWriter

Selects index terms according to provided pluggable {@link 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). @lucene.experimental
Наследование: Lucene.Net.Codecs.BlockTerms.TermsIndexWriterBase
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
Output IndexOutput

Открытые методы

Метод Описание
AddField ( FieldInfo field, long termsFilePointer ) : FieldWriter
Dispose ( ) : void
VariableGapTermsIndexWriter ( SegmentWriteState state, IndexTermSelector policy ) : System

Защищенные методы

Метод Описание
IndexedTermPrefixLength ( BytesRef priorTerm, BytesRef indexedTerm ) : int Note: If your codec does not sort in unicode code point order, you must override this method to simplly return IndexedTerm.Length

Приватные методы

Метод Описание
WriteHeader ( IndexOutput output ) : void
WriteTrailer ( long dirStart ) : void

Описание методов

AddField() публичный Метод

public AddField ( FieldInfo field, long termsFilePointer ) : FieldWriter
field FieldInfo
termsFilePointer long
Результат FieldWriter

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

IndexedTermPrefixLength() защищенный Метод

Note: If your codec does not sort in unicode code point order, you must override this method to simplly return IndexedTerm.Length
protected IndexedTermPrefixLength ( BytesRef priorTerm, BytesRef indexedTerm ) : int
priorTerm BytesRef
indexedTerm BytesRef
Результат int

VariableGapTermsIndexWriter() публичный Метод

public VariableGapTermsIndexWriter ( SegmentWriteState state, IndexTermSelector policy ) : System
state SegmentWriteState
policy IndexTermSelector
Результат System

Описание свойств

Output защищенное свойство

protected IndexOutput Output
Результат IndexOutput