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
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public class FixedGapTermsIndexReader : TermsIndexReaderBase, IDisposable
Constructors
| Improve this Doc View SourceFixedGapTermsIndexReader(Directory, FieldInfos, String, Int32, IComparer<BytesRef>, String, IOContext)
Declaration
public FixedGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, string segment, int indexDivisor, IComparer<BytesRef> termComp, string segmentSuffix, IOContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Lucene.Net.Store.Directory | dir | |
| Lucene.Net.Index.FieldInfos | fieldInfos | |
| System.String | segment | |
| System.Int32 | indexDivisor | |
| System.Collections.Generic.IComparer<Lucene.Net.Util.BytesRef> | termComp | |
| System.String | segmentSuffix | |
| Lucene.Net.Store.IOContext | context |
Properties
| Improve this Doc View SourceDivisor
Declaration
public override int Divisor { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Overrides
| Improve this Doc View SourceSupportsOrd
Declaration
public override bool SupportsOrd { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
Overrides
| Improve this Doc View SourceGetFieldEnum(FieldInfo)
Declaration
public override TermsIndexReaderBase.FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| Lucene.Net.Index.FieldInfo | fieldInfo |
Returns
| Type | Description |
|---|---|
| TermsIndexReaderBase.FieldIndexEnum |
Overrides
| Improve this Doc View SourceRamBytesUsed()
Declaration
public override long RamBytesUsed()
Returns
| Type | Description |
|---|---|
| System.Int64 |
Overrides
Implements
System.IDisposable