protected static class DirectSpellChecker.ScoreTerm extends java.lang.Object implements java.lang.Comparable<DirectSpellChecker.ScoreTerm>
DirectSpellChecker.| Modifier and Type | Field and 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 and Description |
|---|
ScoreTerm()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DirectSpellChecker.ScoreTerm other) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public BytesRef term
public float boost
public int docfreq
public java.lang.String termAsString
null.public float score
public int compareTo(DirectSpellChecker.ScoreTerm other)
compareTo in interface java.lang.Comparable<DirectSpellChecker.ScoreTerm>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectData In Motion GmbH all rights reserved