|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.SpellCheckerRequestHandler
public class SpellCheckerRequestHandler
Takes a string (e.g. a query string) as the value of the "q" parameter and looks up alternative spelling suggestions in the spellchecker. The spellchecker used by this handler is the Lucene contrib SpellChecker.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean |
|---|
SolrInfoMBean.Category |
| Field Summary |
|---|
| Fields inherited from class org.apache.solr.handler.RequestHandlerBase |
|---|
appends, defaults, invariants |
| Constructor Summary | |
|---|---|
SpellCheckerRequestHandler()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Simple one or two line description |
URL[] |
getDocs()
Documentation URL list. |
String |
getSource()
CVS Source, SVN Source, etc |
String |
getSourceId()
CVS Id, SVN Id, etc |
String |
getVersion()
Simple common usage version, e.g. |
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp)
|
void |
init(NamedList args)
init will be called just once, immediately after creation. |
| Methods inherited from class org.apache.solr.handler.RequestHandlerBase |
|---|
getCategory, getName, getStatistics, handleRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpellCheckerRequestHandler()
| Method Detail |
|---|
public void init(NamedList args)
SolrRequestHandlerinit will be called just once, immediately after creation.
The args are user-level initialization parameters that may be specified when declaring a request handler in solrconfig.xml
init in interface SolrRequestHandlerinit in class RequestHandlerBase
public void handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp)
throws Exception
handleRequestBody in class RequestHandlerBaseExceptionpublic String getVersion()
SolrInfoMBean
getVersion in interface SolrInfoMBeangetVersion in class RequestHandlerBasepublic String getDescription()
SolrInfoMBean
getDescription in interface SolrInfoMBeangetDescription in class RequestHandlerBasepublic String getSourceId()
SolrInfoMBean
getSourceId in interface SolrInfoMBeangetSourceId in class RequestHandlerBasepublic String getSource()
SolrInfoMBean
getSource in interface SolrInfoMBeangetSource in class RequestHandlerBasepublic URL[] getDocs()
SolrInfoMBeanSuggested documentation URLs: Homepage for sponsoring project, FAQ on class usage, Design doc for class, Wiki, bug reporting URL, etc...
getDocs in interface SolrInfoMBeangetDocs in class RequestHandlerBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||