• API

    Show / Hide Table of Contents

    Class FSTCompletion.Completion

    A single completion for a given key.

    Inheritance
    System.Object
    FSTCompletion.Completion
    Implements
    System.IComparable<FSTCompletion.Completion>
    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)
    Namespace: Lucene.Net.Search.Suggest.Fst
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public sealed class Completion : IComparable<FSTCompletion.Completion>

    Properties

    | Improve this Doc View Source

    Bucket

    source bucket (weight) of the suggestion

    Declaration
    public int Bucket { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Utf8

    UTF-8 bytes of the suggestion

    Declaration
    public BytesRef Utf8 { get; }
    Property Value
    Type Description
    Lucene.Net.Util.BytesRef

    Methods

    | Improve this Doc View Source

    CompareTo(FSTCompletion.Completion)

    Declaration
    public int CompareTo(FSTCompletion.Completion o)
    Parameters
    Type Name Description
    FSTCompletion.Completion o
    Returns
    Type Description
    System.Int32
    See Also
    CompareTo(Object)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Implements

    System.IComparable<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)