메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | int |
public GetTerm ( int termIndex ) : Term | ||
termIndex | int | /// the position to read the term from the index. |
리턴 | Term |
public SeekEnum ( Lucene.Net.Codecs.Lucene3x.SegmentTermEnum enumerator, int indexOffset ) : void | ||
enumerator | Lucene.Net.Codecs.Lucene3x.SegmentTermEnum | |
indexOffset | int | |
리턴 | 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. |
리턴 | System |