Class BlockTermsReader
Handles a terms dict, but decouples all details of
doc/freqs/positions reading to an instance of
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
TermsIndexReaderBase, to abstract away the specific
implementation of the terms dict index.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
BlockTermsReader
Assembly: Lucene.Net.Codecs.dll
Syntax
public class BlockTermsReader : FieldsProducer, IDisposable
Constructors
|
Improve this Doc
View Source
BlockTermsReader(TermsIndexReaderBase, Directory, FieldInfos, SegmentInfo, PostingsReaderBase, IOContext, String)
Declaration
public BlockTermsReader(TermsIndexReaderBase indexReader, Directory dir, FieldInfos fieldInfos, SegmentInfo info, PostingsReaderBase postingsReader, IOContext context, string segmentSuffix)
Parameters
Properties
|
Improve this Doc
View Source
Count
Declaration
public override int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Methods
|
Improve this Doc
View Source
CheckIntegrity()
Declaration
public override void CheckIntegrity()
Overrides
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public override IEnumerator<string> GetEnumerator()
Returns
Type |
Description |
IEnumerator<System.String> |
|
Overrides
|
Improve this Doc
View Source
GetTerms(String)
Declaration
public override Terms GetTerms(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns
|
Improve this Doc
View Source
RamBytesUsed()
Declaration
public override long RamBytesUsed()
Returns
Type |
Description |
System.Int64 |
|
Overrides
Implements
IDisposable