C# Class Lucene.Net.Codecs.BlockTerms.BlockTermsReader.FieldReader.SegmentTermsEnum

Inheritance: TermsEnum
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode 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, BlockTermsReader blockTermsReader ) : System
Term ( ) : BytesRef
TermState ( ) : TermState
TotalTermFreq ( ) : long

Private Methods

Méthode 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

Method Details

DocFreq() public méthode

public DocFreq ( ) : int
Résultat int

Docs() public méthode

public Docs ( Bits liveDocs, DocsEnum reuse, int flags ) : DocsEnum
liveDocs Bits
reuse DocsEnum
flags int
Résultat DocsEnum

DocsAndPositions() public méthode

public DocsAndPositions ( Bits liveDocs, DocsAndPositionsEnum reuse, int flags ) : DocsAndPositionsEnum
liveDocs Bits
reuse DocsAndPositionsEnum
flags int
Résultat DocsAndPositionsEnum

Next() public méthode

public Next ( ) : BytesRef
Résultat BytesRef

Ord() public méthode

public Ord ( ) : long
Résultat long

SeekCeil() public méthode

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
public SeekCeil ( BytesRef target ) : SeekStatus
target BytesRef
Résultat SeekStatus

SeekExact() public méthode

public SeekExact ( BytesRef target, TermState otherState ) : void
target BytesRef
otherState TermState
Résultat void

SeekExact() public méthode

public SeekExact ( long ord ) : void
ord long
Résultat void

SegmentTermsEnum() public méthode

public SegmentTermsEnum ( FieldReader fieldReader, BlockTermsReader blockTermsReader ) : System
fieldReader FieldReader
blockTermsReader BlockTermsReader
Résultat System

Term() public méthode

public Term ( ) : BytesRef
Résultat BytesRef

TermState() public méthode

public TermState ( ) : TermState
Résultat TermState

TotalTermFreq() public méthode

public TotalTermFreq ( ) : long
Résultat long