Class BufferingTermFreqIteratorWrapper
This wrapper buffers incoming elements.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
BufferingTermFreqIteratorWrapper
Namespace: Lucene.Net.Search.Suggest
Assembly: Lucene.Net.Suggest.dll
Syntax
public class BufferingTermFreqIteratorWrapper : object, ITermFreqIterator, IBytesRefIterator
Constructors
| Improve this Doc View SourceBufferingTermFreqIteratorWrapper(ITermFreqIterator)
Creates a new iterator, buffering entries from the specified iterator
Declaration
public BufferingTermFreqIteratorWrapper(ITermFreqIterator source)
Parameters
Type | Name | Description |
---|---|---|
ITerm |
source |
Fields
| Improve this Doc View Sourcem_curPos
current buffer position
Declaration
protected int m_curPos
Field Value
Type | Description |
---|---|
System. |
m_entries
buffered term entries
Declaration
protected BytesRefArray m_entries
Field Value
Type | Description |
---|---|
Bytes |
m_freqs
buffered weights, parallel with m_entries
Declaration
protected long[] m_freqs
Field Value
Type | Description |
---|---|
System. |
Properties
| Improve this Doc View SourceComparer
Declaration
public virtual IComparer<BytesRef> Comparer { get; }
Property Value
Type | Description |
---|---|
IComparer<Bytes |
Weight
Declaration
public virtual long Weight { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceNext()
Declaration
public virtual BytesRef Next()
Returns
Type | Description |
---|---|
Bytes |
Implements
IBytesRefIterator