Class TermsIndexReaderBase
BlockTermsReader interacts with an instance of this class to manage its terms index. The writer must accept indexed terms (many pairs of Lucene.Net.Util.BytesRef text + long fileOffset), and then this reader must be able to retrieve the nearest index term to a provided term text.
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 abstract class TermsIndexReaderBase : IDisposable
Properties
| Improve this Doc View SourceDivisor
Declaration
public abstract int Divisor { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SupportsOrd
Declaration
public abstract bool SupportsOrd { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected abstract void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
GetFieldEnum(FieldInfo)
Declaration
public abstract TermsIndexReaderBase.FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| Lucene.Net.Index.FieldInfo | fieldInfo |
Returns
| Type | Description |
|---|---|
| TermsIndexReaderBase.FieldIndexEnum |
RamBytesUsed()
Returns approximate RAM bytes used.
Declaration
public abstract long RamBytesUsed()
Returns
| Type | Description |
|---|---|
| System.Int64 |
Implements
System.IDisposable