Class FixedGapTermsIndexReader
TermsIndexReaderBase for simple every Nth terms indexes.
Note
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public class FixedGapTermsIndexReader : TermsIndexReaderBase, IDisposable
Constructors
FixedGapTermsIndexReader(Directory, FieldInfos, string, int, IComparer<BytesRef>, string, IOContext)
TermsIndexReaderBase for simple every Nth terms indexes.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public FixedGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, string segment, int indexDivisor, IComparer<BytesRef> termComp, string segmentSuffix, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
FieldInfos | fieldInfos | |
string | segment | |
int | indexDivisor | |
IComparer<BytesRef> | termComp | |
string | segmentSuffix | |
IOContext | context |
See Also
Properties
Divisor
TermsIndexReaderBase for simple every Nth terms indexes.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override int Divisor { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
See Also
SupportsOrd
TermsIndexReaderBase for simple every Nth terms indexes.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override bool SupportsOrd { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
See Also
Methods
Dispose(bool)
TermsIndexReaderBase for simple every Nth terms indexes.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Overrides
See Also
GetFieldEnum(FieldInfo)
TermsIndexReaderBase for simple every Nth terms indexes.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override TermsIndexReaderBase.FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | fieldInfo |
Returns
Type | Description |
---|---|
TermsIndexReaderBase.FieldIndexEnum |
Overrides
See Also
RamBytesUsed()
Returns approximate RAM bytes used.
Declaration
public override long RamBytesUsed()
Returns
Type | Description |
---|---|
long |