Package org.apache.solr.spelling
Class SpellCheckCollation
- java.lang.Object
-
- org.apache.solr.spelling.SpellCheckCollation
-
- All Implemented Interfaces:
Comparable<SpellCheckCollation>
public class SpellCheckCollation extends Object implements Comparable<SpellCheckCollation>
-
-
Constructor Summary
Constructors Constructor Description SpellCheckCollation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SpellCheckCollation scc)
String
getCollationQuery()
long
getHits()
int
getInternalRank()
NamedList<String>
getMisspellingsAndCorrections()
void
setCollationQuery(String collationQuery)
void
setHits(long hits)
void
setInternalRank(int internalRank)
void
setMisspellingsAndCorrections(NamedList<String> misspellingsAndCorrections)
-
-
-
Method Detail
-
compareTo
public int compareTo(SpellCheckCollation scc)
- Specified by:
compareTo
in interfaceComparable<SpellCheckCollation>
-
setMisspellingsAndCorrections
public void setMisspellingsAndCorrections(NamedList<String> misspellingsAndCorrections)
-
getHits
public long getHits()
-
setHits
public void setHits(long hits)
-
getCollationQuery
public String getCollationQuery()
-
setCollationQuery
public void setCollationQuery(String collationQuery)
-
getInternalRank
public int getInternalRank()
-
setInternalRank
public void setInternalRank(int internalRank)
-
-