Class VariableGapTermsIndexWriter
Selects index terms according to provided pluggable
VariableGapTermsIndexWriter.IndexTermSelector, and stores them in a prefix trie that's
loaded entirely in RAM stored as an FST<T>. This terms
index only supports unsigned byte term sort order
(unicode codepoint order when the bytes are UTF8).
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
VariableGapTermsIndexWriter
Assembly: Lucene.Net.Codecs.dll
Syntax
public class VariableGapTermsIndexWriter : TermsIndexWriterBase
Constructors
|
Improve this Doc
View Source
VariableGapTermsIndexWriter(SegmentWriteState, VariableGapTermsIndexWriter.IndexTermSelector)
Declaration
public VariableGapTermsIndexWriter(SegmentWriteState state, VariableGapTermsIndexWriter.IndexTermSelector policy)
Parameters
Fields
|
Improve this Doc
View Source
m_output
Declaration
protected IndexOutput m_output
Field Value
Methods
|
Improve this Doc
View Source
AddField(FieldInfo, Int64)
Declaration
public override TermsIndexWriterBase.FieldWriter AddField(FieldInfo field, long termsFilePointer)
Parameters
Type |
Name |
Description |
FieldInfo |
field |
|
System.Int64 |
termsFilePointer |
|
Returns
Overrides
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
IndexedTermPrefixLength(BytesRef, BytesRef)
Declaration
protected virtual int IndexedTermPrefixLength(BytesRef priorTerm, BytesRef indexedTerm)
Parameters
Returns
Type |
Description |
System.Int32 |
|