public class AdminHandlers extends java.lang.Object implements SolrCoreAware, SolrRequestHandler
| Modifier and Type | Class and Description |
|---|---|
private static class |
AdminHandlers.StandardHandler |
SolrInfoMBean.Category| Constructor and Description |
|---|
AdminHandlers() |
| Modifier and Type | Method and Description |
|---|---|
SolrInfoMBean.Category |
getCategory()
Purpose of this Class
|
java.lang.String |
getDescription()
Simple one or two line description
|
java.net.URL[] |
getDocs()
Documentation URL list.
|
java.lang.String |
getName()
Simple common usage name, e.g.
|
java.lang.String |
getSource()
CVS Source, SVN Source, etc
|
java.lang.String |
getSourceId()
CVS Id, SVN Id, etc
|
NamedList |
getStatistics()
Any statistics this instance would like to be publicly available via
the Solr Administration interface.
|
java.lang.String |
getVersion()
Simple common usage version, e.g.
|
void |
handleRequest(SolrQueryRequest req,
SolrQueryResponse rsp)
Handles a query request, this method must be thread safe.
|
void |
inform(SolrCore core) |
void |
init(NamedList args)
Save the args and pass them to each standard handler
|
NamedList initArgs
public void init(NamedList args)
init in interface SolrRequestHandlerpublic void inform(SolrCore core)
inform in interface SolrCoreAwarepublic void handleRequest(SolrQueryRequest req, SolrQueryResponse rsp)
SolrRequestHandler
Information about the request may be obtained from req and
response information may be set using rsp.
There are no mandatory actions that handleRequest must perform. An empty handleRequest implementation would fulfill all interface obligations.
handleRequest in interface SolrRequestHandlerpublic java.lang.String getDescription()
SolrInfoMBeangetDescription in interface SolrInfoMBeanpublic java.lang.String getVersion()
SolrInfoMBeangetVersion in interface SolrInfoMBeanpublic java.lang.String getSourceId()
SolrInfoMBeangetSourceId in interface SolrInfoMBeanpublic java.lang.String getSource()
SolrInfoMBeangetSource in interface SolrInfoMBeanpublic SolrInfoMBean.Category getCategory()
SolrInfoMBeangetCategory in interface SolrInfoMBeanpublic java.net.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 SolrInfoMBeanpublic java.lang.String getName()
SolrInfoMBeangetName in interface SolrInfoMBeanpublic NamedList getStatistics()
SolrInfoMBean
Any Object type may be stored in the list, but only the
toString() representation will be used.
getStatistics in interface SolrInfoMBean