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()
org.apache.solr.common.util.NamedList<String>
getMisspellingsAndCorrections()
void
setCollationQuery(String collationQuery)
void
setHits(long hits)
void
setInternalRank(int internalRank)
void
setMisspellingsAndCorrections(org.apache.solr.common.util.NamedList<String> misspellingsAndCorrections)
-
-
-
Method Detail
-
compareTo
public int compareTo(SpellCheckCollation scc)
- Specified by:
compareTo
in interfaceComparable<SpellCheckCollation>
-
getMisspellingsAndCorrections
public org.apache.solr.common.util.NamedList<String> getMisspellingsAndCorrections()
-
setMisspellingsAndCorrections
public void setMisspellingsAndCorrections(org.apache.solr.common.util.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)
-
-