Property | Type | Description | |
---|---|---|---|
DocsEnum | Lucene.Net.Index.DocsEnum | ||
Field | string | ||
Index | int[] | ||
IndexedTermsArray | BytesRef[] | ||
MaxTermDocFreq | int | ||
NumTermsInField | int | ||
OrdBase | int | ||
Phase1_time | int | ||
Prefix | BytesRef | ||
SizeOfIndexedStrings | long | ||
TermInstances | long | ||
Tnums | sbyte[][] | ||
Total_time | int |
Method | Description | |
---|---|---|
DocTermOrds ( |
Inverts all terms
|
|
DocTermOrds ( |
Inverts only terms starting w/ prefix
|
|
DocTermOrds ( |
Inverts only terms starting w/ prefix, and only terms whose docFreq (not taking deletions into account) is <= maxTermDocFreq
|
|
DocTermOrds ( |
Inverts only terms starting w/ prefix, and only terms whose docFreq (not taking deletions into account) is <= maxTermDocFreq, with a custom indexing interval (default is every 128nd term).
|
|
GetIterator ( |
Returns a SortedSetDocValues view of this instance
|
|
GetOrdTermsEnum ( |
Returns a TermsEnum that implements ord. If the provided reader supports ord, we just return its TermsEnum; if it does not, we build a "private" terms index internally (WARNING: consumes RAM) and use that index to implement ord. this also enables ord on top of a composite reader. The returned TermsEnum is unpositioned. this returns null if there are no terms. NOTE: you must pass the same reader that was used when creating this class
|
|
LookupTerm ( Lucene.Net.Index.TermsEnum termsEnum, int ord ) : BytesRef |
Returns the term (BytesRef) corresponding to the provided ordinal.
|
|
NumTerms ( ) : int |
Returns the number of terms in this field
|
|
RamUsedInBytes ( ) : long |
Returns total bytes used.
|
Method | Description | |
---|---|---|
DocTermOrds ( string field, int maxTermDocFreq, int indexIntervalBits ) : System |
Subclass inits w/ this, but be sure you then call uninvert, only once
|
|
SetActualDocFreq ( int termNum, int df ) : void |
Invoked during #uninvert(AtomicReader,Bits,BytesRef) to record the document frequency for each uninverted term.
|
|
Uninvert ( |
Call this only once (if you subclass!)
|
|
VisitTerm ( Lucene.Net.Index.TermsEnum te, int termNum ) : void |
Subclass can override this
|
Method | Description | |
---|---|---|
VIntSize ( int x ) : int |
Number of bytes to represent an unsigned int as a vint.
|
|
WriteInt ( int x, sbyte arr, int pos ) : int |
public DocTermOrds ( |
||
reader | ||
liveDocs | Bits | |
field | string | |
return | System |
public DocTermOrds ( |
||
reader | ||
liveDocs | Bits | |
field | string | |
termPrefix | BytesRef | |
return | System |
public DocTermOrds ( |
||
reader | ||
liveDocs | Bits | |
field | string | |
termPrefix | BytesRef | |
maxTermDocFreq | int | |
return | System |
public DocTermOrds ( |
||
reader | ||
liveDocs | Bits | |
field | string | |
termPrefix | BytesRef | |
maxTermDocFreq | int | |
indexIntervalBits | int | |
return | System |
protected DocTermOrds ( string field, int maxTermDocFreq, int indexIntervalBits ) : System | ||
field | string | |
maxTermDocFreq | int | |
indexIntervalBits | int | |
return | System |
public GetIterator ( |
||
reader | ||
return | Lucene.Net.Index.SortedSetDocValues |
public GetOrdTermsEnum ( |
||
reader | ||
return | Lucene.Net.Index.TermsEnum |
public LookupTerm ( Lucene.Net.Index.TermsEnum termsEnum, int ord ) : BytesRef | ||
termsEnum | Lucene.Net.Index.TermsEnum | |
ord | int | |
return | BytesRef |
protected SetActualDocFreq ( int termNum, int df ) : void | ||
termNum | int | |
df | int | |
return | void |
protected Uninvert ( |
||
reader | ||
liveDocs | Bits | |
termPrefix | BytesRef | |
return | void |
protected VisitTerm ( Lucene.Net.Index.TermsEnum te, int termNum ) : void | ||
te | Lucene.Net.Index.TermsEnum | |
termNum | int | |
return | void |
protected DocsEnum,Lucene.Net.Index DocsEnum | ||
return | Lucene.Net.Index.DocsEnum |