Show / Hide Table of Contents

    Class DirectSpellChecker.ScoreTerm

    Holds a spelling correction for internal usage inside DirectSpellChecker.

    Inheritance
    System.Object
    DirectSpellChecker.ScoreTerm
    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
    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
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)