Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class UnsortedInputEnumerator

    This wrapper buffers the incoming elements and makes sure they are in random order.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    BufferedInputEnumerator
    UnsortedInputEnumerator
    Implements
    IInputEnumerator
    Lucene.Net.Util.IBytesRefEnumerator
    Inherited Members
    BufferedInputEnumerator.m_entries
    BufferedInputEnumerator.m_payloads
    BufferedInputEnumerator.m_contextSets
    BufferedInputEnumerator.m_curPos
    BufferedInputEnumerator.m_freqs
    BufferedInputEnumerator.m_current
    BufferedInputEnumerator.Current
    BufferedInputEnumerator.HasPayloads
    BufferedInputEnumerator.Comparer
    BufferedInputEnumerator.HasContexts
    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 UnsortedInputEnumerator : BufferedInputEnumerator, IInputEnumerator, IBytesRefEnumerator

    Constructors

    | Improve this Doc View Source

    UnsortedInputEnumerator(IInputEnumerator)

    Creates a new iterator, wrapping the specified iterator and returning elements in a random order.

    Declaration
    public UnsortedInputEnumerator(IInputEnumerator source)
    Parameters
    Type Name Description
    IInputEnumerator source

    Properties

    | Improve this Doc View Source

    Contexts

    Declaration
    public override ICollection<BytesRef> Contexts { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<Lucene.Net.Util.BytesRef>
    Overrides
    BufferedInputEnumerator.Contexts
    | Improve this Doc View Source

    Payload

    Declaration
    public override BytesRef Payload { get; }
    Property Value
    Type Description
    Lucene.Net.Util.BytesRef
    Overrides
    BufferedInputEnumerator.Payload
    | Improve this Doc View Source

    Weight

    Declaration
    public override long Weight { get; }
    Property Value
    Type Description
    System.Int64
    Overrides
    BufferedInputEnumerator.Weight

    Methods

    | Improve this Doc View Source

    MoveNext()

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

    Implements

    IInputEnumerator
    Lucene.Net.Util.IBytesRefEnumerator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.