@Deprecated public class TestRequestHandler extends Object implements SolrRequestHandler
SolrInfoMBean.Category| Constructor and Description |
|---|
TestRequestHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
SolrInfoMBean.Category |
getCategory()
Deprecated.
Purpose of this Class
|
String |
getDescription()
Deprecated.
Simple one or two line description
|
URL[] |
getDocs()
Deprecated.
Documentation URL list.
|
String |
getName()
Deprecated.
Simple common usage name, e.g.
|
String |
getSource()
Deprecated.
CVS Source, SVN Source, etc
|
String |
getSourceId()
Deprecated.
CVS Id, SVN Id, etc
|
NamedList |
getStatistics()
Deprecated.
Any statistics this instance would like to be publicly available via
the Solr Administration interface.
|
String |
getVersion()
Deprecated.
Simple common usage version, e.g. 2.0
|
void |
handleRequest(SolrQueryRequest req,
SolrQueryResponse rsp)
Deprecated.
Handles a query request, this method must be thread safe.
|
void |
init(NamedList args)
Deprecated.
init will be called just once, immediately after creation. |
void |
test(boolean condition)
Deprecated.
|
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 SolrRequestHandlerpublic void test(boolean condition)
public 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 String getName()
SolrInfoMBeangetName in interface SolrInfoMBeanpublic String getVersion()
SolrInfoMBeangetVersion in interface SolrInfoMBeanpublic String getDescription()
SolrInfoMBeangetDescription in interface SolrInfoMBeanpublic SolrInfoMBean.Category getCategory()
SolrInfoMBeangetCategory in interface SolrInfoMBeanpublic String getSourceId()
SolrInfoMBeangetSourceId in interface SolrInfoMBeanpublic String getSource()
SolrInfoMBeangetSource in interface SolrInfoMBeanpublic 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 NamedList getStatistics()
SolrInfoMBean
Any Object type may be stored in the list, but only the
toString() representation will be used.
getStatistics in interface SolrInfoMBean