org.apache.solr.client.solrj.response
Class SpellCheckResponse
java.lang.Object
org.apache.solr.client.solrj.response.SpellCheckResponse
public class SpellCheckResponse
- extends Object
Encapsulates responses from SpellCheckComponent
- Since:
- solr 1.3
- Version:
- $Id: SpellCheckResponse.java 812714 2009-09-08 22:22:33Z yonik $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpellCheckResponse
public SpellCheckResponse(NamedList<Object> spellInfo)
isCorrectlySpelled
public boolean isCorrectlySpelled()
getSuggestions
public List<SpellCheckResponse.Suggestion> getSuggestions()
getSuggestionMap
public Map<String,SpellCheckResponse.Suggestion> getSuggestionMap()
getSuggestion
public SpellCheckResponse.Suggestion getSuggestion(String token)
getFirstSuggestion
public String getFirstSuggestion(String token)
getCollatedResult
public String getCollatedResult()
Copyright © 2010 Apache Software Foundation. All Rights Reserved.