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
Inheritance
System.Object
Lucene.Net.Index.Fields
Lucene.Net.Codecs.FieldsProducer
FSTOrdTermsReader
Implements
System.Collections.Generic.IEnumerable<System.String>
System.Collections.IEnumerable
System.IDisposable
Inherited Members
Lucene.Net.Codecs.FieldsProducer.Dispose()
Lucene.Net.Index.Fields.System.Collections.IEnumerable.GetEnumerator()
Lucene.Net.Index.Fields.UniqueTermCount
Lucene.Net.Index.Fields.EMPTY_ARRAY
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 |
---|---|---|
Lucene.Net.Index.SegmentReadState | state | |
Lucene.Net.Codecs.PostingsReaderBase | postingsReader |
Properties
| Improve this Doc View SourceCount
Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Index.Fields.Count
Methods
| Improve this Doc View SourceCheckIntegrity()
Declaration
public override void CheckIntegrity()
Overrides
Lucene.Net.Codecs.FieldsProducer.CheckIntegrity()
|
Improve this Doc
View Source
Dispose(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
Lucene.Net.Index.Fields.GetEnumerator()
|
Improve this Doc
View Source
GetTerms(String)
Declaration
public override Terms GetTerms(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field |
Returns
Type | Description |
---|---|
Lucene.Net.Index.Terms |
Overrides
| Improve this Doc View SourceRamBytesUsed()
Declaration
public override long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
Lucene.Net.Codecs.FieldsProducer.RamBytesUsed()
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IDisposable