Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class DirectSpellChecker.ScoreTerm

    Holds a spelling correction for internal usage inside DirectSpellChecker.

    Inheritance
    System.Object
    DirectSpellChecker.ScoreTerm
    Implements
    System.IComparable<DirectSpellChecker.ScoreTerm>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search.Spell
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    protected class ScoreTerm : IComparable<DirectSpellChecker.ScoreTerm>

    Constructors

    | Improve this Doc View Source

    ScoreTerm()

    Constructor.

    Declaration
    public ScoreTerm()

    Properties

    | Improve this Doc View Source

    Boost

    The boost representing the similarity from the FuzzyTermsEnum (internal similarity score)

    Declaration
    public float Boost { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Docfreq

    The df of the spellcheck correction.

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

    Score

    The similarity score.

    Declaration
    public float Score { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Term

    The actual spellcheck correction.

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

    TermAsString

    The spellcheck correction represented as string, can be

    null
    .

    Declaration
    public string TermAsString { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    CompareTo(DirectSpellChecker.ScoreTerm)

    Declaration
    public virtual int CompareTo(DirectSpellChecker.ScoreTerm other)
    Parameters
    Type Name Description
    DirectSpellChecker.ScoreTerm other
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Implements

    System.IComparable<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.