C# Class 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
Inheritance: Lucene.Net.Codecs.BlockTerms.TermsIndexWriterBase
Afficher le fichier Open project: paulirwin/lucene.net Class Usage Examples

Protected Properties

Свойство Type Description
Output IndexOutput

Méthodes publiques

Méthode Description
AddField ( FieldInfo field, long termsFilePointer ) : FieldWriter
Dispose ( ) : void
VariableGapTermsIndexWriter ( SegmentWriteState state, IndexTermSelector policy ) : System

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
WriteHeader ( IndexOutput output ) : void
WriteTrailer ( long dirStart ) : void

Method Details

AddField() public méthode

public AddField ( FieldInfo field, long termsFilePointer ) : FieldWriter
field FieldInfo
termsFilePointer long
Résultat FieldWriter

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IndexedTermPrefixLength() protected méthode

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
Résultat int

VariableGapTermsIndexWriter() public méthode

public VariableGapTermsIndexWriter ( SegmentWriteState state, IndexTermSelector policy ) : System
state SegmentWriteState
policy IndexTermSelector
Résultat System

Property Details

Output protected_oe property

protected IndexOutput Output
Résultat IndexOutput