Class Correction
org.elasticsearch.search.suggest.phrase.Correction
- All Implemented Interfaces:
<Correction>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo(Correction other)
Lower scores sorts first; if scores are equal, than later terms (zzz) sort first .org.apache.lucene.util.BytesRef
join(org.apache.lucene.util.BytesRef separator)
org.apache.lucene.util.BytesRef
join(org.apache.lucene.util.BytesRef separator, org.apache.lucene.util.BytesRefBuilder result, org.apache.lucene.util.BytesRef preTag, org.apache.lucene.util.BytesRef postTag)
org.apache.lucene.util.BytesRef
join(org.apache.lucene.util.BytesRef separator, org.apache.lucene.util.BytesRef preTag, org.apache.lucene.util.BytesRef postTag)
toString()
Methods inherited from class java.lang.
, , , , , , , , ,
-
Field Details
-
EMPTY
-
score
public double score -
candidates
-
-
Constructor Details
-
Correction
-
-
Method Details
-
toString
public toString()- Overrides:
in class
-
join
public org.apache.lucene.util.BytesRef join(org.apache.lucene.util.BytesRef separator) -
join
public org.apache.lucene.util.BytesRef join(org.apache.lucene.util.BytesRef separator, org.apache.lucene.util.BytesRef preTag, org.apache.lucene.util.BytesRef postTag) -
join
public org.apache.lucene.util.BytesRef join(org.apache.lucene.util.BytesRef separator, org.apache.lucene.util.BytesRefBuilder result, org.apache.lucene.util.BytesRef preTag, org.apache.lucene.util.BytesRef postTag) -
compareTo
Lower scores sorts first; if scores are equal, than later terms (zzz) sort first .- Specified by:
in interface
<Correction>
-