Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IInputEnumerator

    Interface for enumerating term,weight,payload triples for suggester consumption; currently only AnalyzingSuggester, FuzzySuggester and AnalyzingInfixSuggester support payloads.

    Inherited Members
    Lucene.Net.Util.IBytesRefEnumerator.MoveNext()
    Lucene.Net.Util.IBytesRefEnumerator.Current
    Lucene.Net.Util.IBytesRefEnumerator.Comparer
    Namespace: Lucene.Net.Search.Suggest
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public interface IInputEnumerator : IBytesRefEnumerator

    Properties

    | Improve this Doc View Source

    Contexts

    A term's contexts context can be used to filter suggestions. May return null, if suggest entries do not have any context

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

    HasContexts

    Returns true if the iterator has contexts

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

    HasPayloads

    Returns true if the iterator has payloads

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

    Payload

    An arbitrary byte[] to record per suggestion. See Payload to retrieve the payload for each suggestion.

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

    Weight

    A term's weight, higher numbers mean better suggestions.

    Declaration
    long Weight { get; }
    Property Value
    Type Description
    System.Int64
    • 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.