• API

    Show / Hide Table of Contents

    Class TermFreqEnumeratorWrapper

    Wraps a BytesRefEnumerator as a ITermFreqEnumerator, with all weights set to 1.

    Inheritance
    System.Object
    TermFreqEnumeratorWrapper
    Implements
    ITermFreqEnumerator
    Lucene.Net.Util.IBytesRefEnumerator
    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.Spell
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class TermFreqEnumeratorWrapper : ITermFreqEnumerator, IBytesRefEnumerator

    Constructors

    | Improve this Doc View Source

    TermFreqEnumeratorWrapper(IBytesRefEnumerator)

    Creates a new wrapper, wrapping the specified iterator and specifying a weight value of

    1
    for all terms.

    Declaration
    public TermFreqEnumeratorWrapper(IBytesRefEnumerator wrapped)
    Parameters
    Type Name Description
    Lucene.Net.Util.IBytesRefEnumerator wrapped

    Properties

    | Improve this Doc View Source

    Comparer

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

    Current

    Declaration
    public BytesRef Current { get; }
    Property Value
    Type Description
    Lucene.Net.Util.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

    MoveNext()

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    System.Boolean

    Implements

    ITermFreqEnumerator
    Lucene.Net.Util.IBytesRefEnumerator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)