Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FSTCompletion.Completion

    A single completion for a given key.

    Inheritance
    object
    FSTCompletion.Completion
    Implements
    IComparable<FSTCompletion.Completion>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Search.Suggest.Fst
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public sealed class FSTCompletion.Completion : IComparable<FSTCompletion.Completion>

    Properties

    Bucket

    source bucket (weight) of the suggestion

    Declaration
    public int Bucket { get; }
    Property Value
    Type Description
    int

    Utf8

    UTF-8 bytes of the suggestion

    Declaration
    public BytesRef Utf8 { get; }
    Property Value
    Type Description
    BytesRef

    Methods

    CompareTo(Completion)

    A single completion for a given key.

    Declaration
    public int CompareTo(FSTCompletion.Completion o)
    Parameters
    Type Name Description
    FSTCompletion.Completion o
    Returns
    Type Description
    int
    See Also
    CompareTo(object)

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Implements

    IComparable<T>
    Back to top Copyright © 2024 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.