Class BufferingTermFreqEnumeratorWrapper
This wrapper buffers incoming elements.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
BufferingTermFreqEnumeratorWrapper
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.Search.Suggest
Assembly: Lucene.Net.Suggest.dll
Syntax
public class BufferingTermFreqEnumeratorWrapper : ITermFreqEnumerator, IBytesRefEnumerator
Constructors
| Improve this Doc View SourceBufferingTermFreqEnumeratorWrapper(ITermFreqEnumerator)
Creates a new iterator, buffering entries from the specified iterator
Declaration
public BufferingTermFreqEnumeratorWrapper(ITermFreqEnumerator source)
Parameters
| Type | Name | Description |
|---|---|---|
| ITermFreqEnumerator | source |
Fields
| Improve this Doc View Sourcem_curPos
current buffer position
Declaration
protected int m_curPos
Field Value
| Type | Description |
|---|---|
| System.Int32 |
m_entries
buffered term entries
Declaration
protected BytesRefArray m_entries
Field Value
| Type | Description |
|---|---|
| Lucene.Net.Util.BytesRefArray |
m_freqs
buffered weights, parallel with m_entries
Declaration
protected long[] m_freqs
Field Value
| Type | Description |
|---|---|
| System.Int64[] |
Properties
| Improve this Doc View SourceComparer
Declaration
public virtual IComparer<BytesRef> Comparer { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IComparer<Lucene.Net.Util.BytesRef> |
Current
Declaration
public virtual BytesRef Current { get; }
Property Value
| Type | Description |
|---|---|
| Lucene.Net.Util.BytesRef |
Weight
Declaration
public virtual long Weight { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Methods
| Improve this Doc View SourceMoveNext()
Declaration
public virtual bool MoveNext()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Implements
Lucene.Net.Util.IBytesRefEnumerator