C# 클래스 Lucene.Net.Codecs.BlockTerms.BlockTermsReader.FieldReader.SegmentTermsEnum

상속: TermsEnum
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

DocFreq() 공개 메소드

public DocFreq ( ) : int
리턴 int

Docs() 공개 메소드

public Docs ( Bits liveDocs, DocsEnum reuse, int flags ) : DocsEnum
liveDocs Bits
reuse DocsEnum
flags int
리턴 DocsEnum

DocsAndPositions() 공개 메소드

public DocsAndPositions ( Bits liveDocs, DocsAndPositionsEnum reuse, int flags ) : DocsAndPositionsEnum
liveDocs Bits
reuse DocsAndPositionsEnum
flags int
리턴 DocsAndPositionsEnum

Next() 공개 메소드

public Next ( ) : BytesRef
리턴 BytesRef

Ord() 공개 메소드

public Ord ( ) : long
리턴 long

SeekCeil() 공개 메소드

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
리턴 SeekStatus

SeekExact() 공개 메소드

public SeekExact ( BytesRef target, TermState otherState ) : void
target BytesRef
otherState TermState
리턴 void

SeekExact() 공개 메소드

public SeekExact ( long ord ) : void
ord long
리턴 void

SegmentTermsEnum() 공개 메소드

public SegmentTermsEnum ( FieldReader fieldReader, BlockTermsReader blockTermsReader ) : System
fieldReader FieldReader
blockTermsReader BlockTermsReader
리턴 System

Term() 공개 메소드

public Term ( ) : BytesRef
리턴 BytesRef

TermState() 공개 메소드

public TermState ( ) : TermState
리턴 TermState

TotalTermFreq() 공개 메소드

public TotalTermFreq ( ) : long
리턴 long