|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.search.spell.DirectSpellChecker.ScoreTerm
protected static class DirectSpellChecker.ScoreTerm
Holds a spelling correction for internal usage inside DirectSpellChecker.
| Field Summary | |
|---|---|
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. |
String |
termAsString
The spellcheck correction represented as string, can be null. |
| Constructor Summary | |
|---|---|
DirectSpellChecker.ScoreTerm()
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(DirectSpellChecker.ScoreTerm other)
|
boolean |
equals(Object obj)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public BytesRef term
public float boost
public int docfreq
public String termAsString
null.
public float score
| Constructor Detail |
|---|
public DirectSpellChecker.ScoreTerm()
| Method Detail |
|---|
public int compareTo(DirectSpellChecker.ScoreTerm other)
compareTo in interface Comparable<DirectSpellChecker.ScoreTerm>public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||