public class AnalyticsComponent extends SearchComponent
SolrInfoMBean.Category| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_NAME |
standard_components| Constructor and Description |
|---|
AnalyticsComponent() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Simple one or two line description
|
String |
getName()
Simple common usage name, e.g.
|
NamedList |
getStatistics()
Any statistics this instance would like to be publicly available via
the Solr Administration interface.
|
String |
getVersion()
Simple common usage version, e.g. 2.0
|
void |
prepare(ResponseBuilder rb)
Prepare the response.
|
void |
process(ResponseBuilder rb)
Process the request for this component
|
distributedProcess, finishStage, getCategory, getDocs, getSource, handleResponses, init, modifyRequest, setNamepublic static final String COMPONENT_NAME
public void prepare(ResponseBuilder rb) throws IOException
SearchComponentSearchComponent.process(org.apache.solr.handler.component.ResponseBuilder) method.
Called for every incoming request.
The place to do initialization that is request dependent.prepare in class SearchComponentrb - The ResponseBuilderIOException - If there is a low-level I/O error.public void process(ResponseBuilder rb) throws IOException
SearchComponentprocess in class SearchComponentrb - The ResponseBuilderIOException - If there is a low-level I/O error.public String getName()
SolrInfoMBeangetName in interface SolrInfoMBeangetName in class SearchComponentpublic String getDescription()
SolrInfoMBeangetDescription in interface SolrInfoMBeangetDescription in class SearchComponentpublic String getVersion()
SolrInfoMBeangetVersion in interface SolrInfoMBeangetVersion in class SearchComponentpublic NamedList getStatistics()
SolrInfoMBean
Any Object type may be stored in the list, but only the
toString() representation will be used.
getStatistics in interface SolrInfoMBeangetStatistics in class SearchComponentCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.