Méthode | Description | |
---|---|---|
CompareTo ( Term term, int termIndex ) : int |
The compares the given term against the term in the index specified by the term index. ie It returns negative N when term is less than index term;
|
|
GetTerm ( int termIndex ) : Term |
Gets the term at the given position. For testing.
|
|
Length ( ) : int |
Returns the number of terms.
|
|
SeekEnum ( Lucene.Net.Codecs.Lucene3x.SegmentTermEnum enumerator, int indexOffset ) : void | ||
TermInfosReaderIndex ( Lucene.Net.Codecs.Lucene3x.SegmentTermEnum indexEnum, int indexDivisor, long tiiFileLength, int totalIndexInterval ) : System |
Loads the segment information at segment load time.
|
Méthode | Description | |
---|---|---|
CompareField ( Term term, int termIndex, Lucene.Net.Util.PagedBytes.PagedBytesDataInput input ) : int |
Compares the fields before checking the text of the terms.
|
|
CompareTo ( Term term, int termIndex, Lucene.Net.Util.PagedBytes.PagedBytesDataInput input, BytesRef reuse ) : int |
Compare the fields of the terms first, and if not equals return from compare. If equal compare terms.
|
|
EstimatePageBits ( long estSize ) : int | ||
GetIndexOffset ( Term term ) : int |
Binary search for the given term.
|
|
RamBytesUsed ( ) : long |
public CompareTo ( Term term, int termIndex ) : int | ||
term | Term | /// the given term. |
termIndex | int | /// the index of the of term to compare. |
Résultat | int |
public GetTerm ( int termIndex ) : Term | ||
termIndex | int | /// the position to read the term from the index. |
Résultat | Term |
public SeekEnum ( Lucene.Net.Codecs.Lucene3x.SegmentTermEnum enumerator, int indexOffset ) : void | ||
enumerator | Lucene.Net.Codecs.Lucene3x.SegmentTermEnum | |
indexOffset | int | |
Résultat | void |
public TermInfosReaderIndex ( Lucene.Net.Codecs.Lucene3x.SegmentTermEnum indexEnum, int indexDivisor, long tiiFileLength, int totalIndexInterval ) : System | ||
indexEnum | Lucene.Net.Codecs.Lucene3x.SegmentTermEnum | /// the term enum. |
indexDivisor | int | /// the index divisor. |
tiiFileLength | long | /// the size of the tii file, used to approximate the size of the /// buffer. |
totalIndexInterval | int | /// the total index interval. |
Résultat | System |