Class AppendingTermsReader
Reads append-only terms from AppendingTermsWriter.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
BlockTreeTermsReader<object>.m_subclassState
BlockTreeTermsReader<object>.GetEnumerator()
BlockTreeTermsReader<object>.Count
BlockTreeTermsReader<object>.RamBytesUsed()
BlockTreeTermsReader<object>.CheckIntegrity()
FieldsProducer.Dispose()
Fields.UniqueTermCount
Fields.EMPTY_ARRAY
Namespace: Lucene.Net.Codecs.Appending
Assembly: Lucene.Net.Codecs.dll
Syntax
[Obsolete("Only for reading old Appending segments")]
public class AppendingTermsReader : BlockTreeTermsReader<object>, IEnumerable<string>, IEnumerable, IDisposable
Constructors
AppendingTermsReader(Directory, FieldInfos, SegmentInfo, PostingsReaderBase, IOContext, string, int)
Reads append-only terms from AppendingTermsWriter.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public AppendingTermsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo info, PostingsReaderBase postingsReader, IOContext ioContext, string segmentSuffix, int indexDivisor)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
FieldInfos | fieldInfos | |
SegmentInfo | info | |
PostingsReaderBase | postingsReader | |
IOContext | ioContext | |
string | segmentSuffix | |
int | indexDivisor |
Methods
ReadHeader(IndexInput)
Reads terms file header.
Declaration
protected override int ReadHeader(IndexInput input)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | input |
Returns
Type | Description |
---|---|
int |
Overrides
Lucene.Net.Codecs.BlockTreeTermsReader<object>.ReadHeader(Lucene.Net.Store.IndexInput)
ReadIndexHeader(IndexInput)
Reads index file header.
Declaration
protected override int ReadIndexHeader(IndexInput input)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | input |
Returns
Type | Description |
---|---|
int |
Overrides
Lucene.Net.Codecs.BlockTreeTermsReader<object>.ReadIndexHeader(Lucene.Net.Store.IndexInput)
SeekDir(IndexInput, long)
Seek input
to the directory offset.
Declaration
protected override void SeekDir(IndexInput input, long dirOffset)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | input | |
long | dirOffset |