Show / Hide Table of Contents

    Class InputIteratorWrapper

    Wraps a IBytesRefIterator as a suggester IInputIterator, with all weights set to 1 and carries no payload

    Inheritance
    System.Object
    InputIteratorWrapper
    Implements
    IInputIterator
    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 InputIteratorWrapper : IInputIterator, IBytesRefIterator

    Constructors

    | Improve this Doc View Source

    InputIteratorWrapper(IBytesRefIterator)

    Creates a new wrapper, wrapping the specified iterator and specifying a weight value of 1 for all terms and nullifies associated payloads.

    Declaration
    public InputIteratorWrapper(IBytesRefIterator wrapped)
    Parameters
    Type Name Description
    IBytesRefIterator wrapped

    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

    Contexts

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

    HasContexts

    Declaration
    public virtual bool HasContexts { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    HasPayloads

    Declaration
    public virtual bool HasPayloads { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Payload

    Declaration
    public virtual BytesRef Payload { get; }
    Property Value
    Type Description
    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

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