Class FSTOrdTermsReader
FST-based terms dictionary reader.
The FST index maps each term and its ord, and during seek the ord is used fetch metadata from a single block. The term dictionary is fully memory resident.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Implements
System.Collections.Generic.IEnumerable<System.String>
System.Collections.IEnumerable
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.Memory
Assembly: Lucene.Net.Codecs.dll
Syntax
public class FSTOrdTermsReader : FieldsProducer, IEnumerable<string>, IEnumerable, IDisposable
Constructors
| Improve this Doc View SourceFSTOrdTermsReader(SegmentReadState, PostingsReaderBase)
Declaration
public FSTOrdTermsReader(SegmentReadState state, PostingsReaderBase postingsReader)
Parameters
Type | Name | Description |
---|---|---|
SegmentReadState | state | |
PostingsReaderBase | postingsReader |
Properties
| Improve this Doc View SourceCount
Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Methods
| Improve this Doc View SourceCheckIntegrity()
Declaration
public override void CheckIntegrity()
Overrides
| 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 SourceGetEnumerator()
Declaration
public override IEnumerator<string> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.String> |
Overrides
| Improve this Doc View SourceGetTerms(String)
Declaration
public override Terms GetTerms(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field |
Returns
Type | Description |
---|---|
Terms |
Overrides
| Improve this Doc View SourceRamBytesUsed()
Declaration
public override long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IDisposable