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

Handles a terms dict, but decouples all details of doc/freqs/positions reading to an instance of {@link PostingsReaderBase}. This class is reusable for codecs that use a different format for docs/freqs/positions (though codecs are also free to make their own terms dict impl). This class also interacts with an instance of {@link TermsIndexReaderBase}, to abstract away the specific implementation of the terms dict index. @lucene.experimental
Inheritance: Lucene.Net.Codecs.FieldsProducer
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
BlockTermsReader ( TermsIndexReaderBase indexReader, Lucene.Net.Store.Directory dir, FieldInfos fieldInfos, SegmentInfo info, Lucene.Net.Codecs.PostingsReaderBase postingsReader, IOContext context, String segmentSuffix ) : System
CheckIntegrity ( ) : void
Dispose ( ) : void
GetEnumerator ( ) : IEnumerator
RamBytesUsed ( ) : long
Terms ( String field ) : Terms

Private Methods

Méthode Description
ReadHeader ( DataInput input ) : int
SeekDir ( IndexInput input, long dirOffset ) : void

Method Details

BlockTermsReader() public méthode

public BlockTermsReader ( TermsIndexReaderBase indexReader, Lucene.Net.Store.Directory dir, FieldInfos fieldInfos, SegmentInfo info, Lucene.Net.Codecs.PostingsReaderBase postingsReader, IOContext context, String segmentSuffix ) : System
indexReader TermsIndexReaderBase
dir Lucene.Net.Store.Directory
fieldInfos FieldInfos
info SegmentInfo
postingsReader Lucene.Net.Codecs.PostingsReaderBase
context Lucene.Net.Store.IOContext
segmentSuffix String
Résultat System

CheckIntegrity() public méthode

public CheckIntegrity ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

RamBytesUsed() public méthode

public RamBytesUsed ( ) : long
Résultat long

Terms() public méthode

public Terms ( String field ) : Terms
field String
Résultat Terms