java.lang.Object
org.elasticsearch.search.suggest.phrase.Correction
- All Implemented Interfaces:
Comparable<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()
-
Field Details
-
EMPTY
-
score
public double score -
candidates
-
-
Constructor Details
-
Correction
-
-
Method Details
-
toString
-
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:
compareTo
in interfaceComparable<Correction>
-