Method | Description | |
---|---|---|
DocFreq ( ) : int | ||
Docs ( Bits liveDocs, DocsEnum reuse, int flags ) : DocsEnum | ||
DocsAndPositions ( Bits liveDocs, DocsAndPositionsEnum reuse, int flags ) : DocsAndPositionsEnum | ||
Next ( ) : BytesRef | ||
Ord ( ) : long | ||
SeekCeil ( BytesRef target ) : SeekStatus | TODO: we may want an alternate mode here which is "if you are about to return NOT_FOUND I won't use the terms data from that"; eg FuzzyTermsEnum will (usually) just immediately call seek again if we return NOT_FOUND so it's a waste for us to fill in the term that was actually NOT_FOUND | |
SeekExact ( BytesRef target, TermState otherState ) : void | ||
SeekExact ( long ord ) : void | ||
SegmentTermsEnum ( FieldReader fieldReader, |
||
Term ( ) : BytesRef | ||
TermState ( ) : TermState | ||
TotalTermFreq ( ) : long |
Method | Description | |
---|---|---|
DecodeMetaData ( ) : void | ||
NextBlock ( ) : bool | ||
_next ( ) : BytesRef |
Decodes only the term bytes of the next term. If caller then asks for metadata, ie docFreq, totalTermFreq or pulls a D/P Enum, we then (lazily) decode all metadata up to the current term
|
public Docs ( Bits liveDocs, DocsEnum reuse, int flags ) : DocsEnum | ||
liveDocs | Bits | |
reuse | DocsEnum | |
flags | int | |
return | DocsEnum |
public DocsAndPositions ( Bits liveDocs, DocsAndPositionsEnum reuse, int flags ) : DocsAndPositionsEnum | ||
liveDocs | Bits | |
reuse | DocsAndPositionsEnum | |
flags | int | |
return | DocsAndPositionsEnum |
public SeekCeil ( BytesRef target ) : SeekStatus | ||
target | BytesRef | |
return | SeekStatus |
public SeekExact ( BytesRef target, TermState otherState ) : void | ||
target | BytesRef | |
otherState | TermState | |
return | void |
public SegmentTermsEnum ( FieldReader fieldReader, |
||
fieldReader | FieldReader | |
blockTermsReader | ||
return | System |