Class Suggestion
- java.lang.Object
-
- org.apache.solr.client.solrj.response.Suggestion
-
public class Suggestion extends Object
This class models a Suggestion coming from Solr Suggest Component. It is a direct mapping fo the Json object Solr is returning.
-
-
Constructor Summary
Constructors Constructor Description Suggestion(String term, long weight, String payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getPayload()
String
getTerm()
long
getWeight()
int
hashCode()
-