public static class SpellCheckResponse.Collation extends Object
Constructor and Description |
---|
Collation() |
Modifier and Type | Method and Description |
---|---|
SpellCheckResponse.Collation |
addMisspellingsAndCorrection(SpellCheckResponse.Correction correction) |
String |
getCollationQueryString() |
List<SpellCheckResponse.Correction> |
getMisspellingsAndCorrections() |
long |
getNumberOfHits() |
SpellCheckResponse.Collation |
setCollationQueryString(String collationQueryString) |
void |
setNumberOfHits(long numberOfHits) |
public long getNumberOfHits()
public void setNumberOfHits(long numberOfHits)
public String getCollationQueryString()
public SpellCheckResponse.Collation setCollationQueryString(String collationQueryString)
public List<SpellCheckResponse.Correction> getMisspellingsAndCorrections()
public SpellCheckResponse.Collation addMisspellingsAndCorrection(SpellCheckResponse.Correction correction)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.