protected static class DirectSpellChecker.ScoreTerm extends Object implements 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.
|
String |
termAsString
The spellcheck correction represented as string, can be
null . |
Constructor and Description |
---|
DirectSpellChecker.ScoreTerm()
Constructor.
|
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-2015 Apache Software Foundation. All Rights Reserved.