Class DirectSpellChecker.ScoreTerm

    • Field Summary

      Fields 
      Modifier and Type Field Description
      float boost
      The boost representing the similarity from the FuzzyTermsEnum (internal similarity score)
      int docfreq
      The df of the spellcheck correction.
      float score
      The similarity score.
      BytesRef term
      The actual spellcheck correction.
      java.lang.String termAsString
      The spellcheck correction represented as string, can be null.
    • Constructor Summary

      Constructors 
      Constructor Description
      ScoreTerm()
      Constructor.
    • Field Detail

      • term

        public BytesRef term
        The actual spellcheck correction.
      • boost

        public float boost
        The boost representing the similarity from the FuzzyTermsEnum (internal similarity score)
      • docfreq

        public int docfreq
        The df of the spellcheck correction.
      • termAsString

        public java.lang.String termAsString
        The spellcheck correction represented as string, can be null.
      • score

        public float score
        The similarity score.
    • Constructor Detail

      • ScoreTerm

        public ScoreTerm()
        Constructor.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object