Show / Hide Table of Contents

    Class BufferingTermFreqIteratorWrapper

    This wrapper buffers incoming elements.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    BufferingTermFreqIteratorWrapper
    Implements
    ITermFreqIterator
    IBytesRefIterator
    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 BufferingTermFreqIteratorWrapper : ITermFreqIterator, IBytesRefIterator

    Constructors

    | Improve this Doc View Source

    BufferingTermFreqIteratorWrapper(ITermFreqIterator)

    Creates a new iterator, buffering entries from the specified iterator

    Declaration
    public BufferingTermFreqIteratorWrapper(ITermFreqIterator source)
    Parameters
    Type Name Description
    ITermFreqIterator source

    Fields

    | Improve this Doc View Source

    m_curPos

    current buffer position

    Declaration
    protected int m_curPos
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_entries

    buffered term entries

    Declaration
    protected BytesRefArray m_entries
    Field Value
    Type Description
    BytesRefArray
    | Improve this Doc View Source

    m_freqs

    buffered weights, parallel with m_entries

    Declaration
    protected long[] m_freqs
    Field Value
    Type Description
    System.Int64[]

    Properties

    | Improve this Doc View Source

    Comparer

    Declaration
    public virtual IComparer<BytesRef> Comparer { get; }
    Property Value
    Type Description
    System.Collections.Generic.IComparer<BytesRef>
    | Improve this Doc View Source

    Weight

    Declaration
    public virtual long Weight { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Next()

    Declaration
    public virtual BytesRef Next()
    Returns
    Type Description
    BytesRef

    Implements

    ITermFreqIterator
    IBytesRefIterator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)