protected static class DirectSpellChecker.ScoreTerm extends Object implements Comparable<DirectSpellChecker.ScoreTerm>
DirectSpellChecker.| Modifier and Type | Field and Description | 
|---|---|
| float | boostThe boost representing the similarity from the FuzzyTermsEnum (internal similarity score) | 
| int | docfreqThe df of the spellcheck correction. | 
| float | scoreThe similarity score. | 
| BytesRef | termThe actual spellcheck correction. | 
| String | termAsStringThe spellcheck correction represented as string, can be  null. | 
| Constructor and Description | 
|---|
| ScoreTerm()Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(DirectSpellChecker.ScoreTerm other) | 
| boolean | equals(Object obj) | 
| int | hashCode() | 
public BytesRef term
public float boost
public int docfreq
public String termAsString
null.public float score
public int compareTo(DirectSpellChecker.ScoreTerm other)
compareTo in interface Comparable<DirectSpellChecker.ScoreTerm>Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.