public class DataImportHandler extends RequestHandlerBase implements SolrCoreAware
Solr Request Handler for data import from databases and REST data sources.
It is configured in solrconfig.xml
Refer to http://wiki.apache.org/solr/DataImportHandler for more details.
This API is experimental and subject to change
SolrInfoMBean.Category| Modifier and Type | Field and Description |
|---|---|
static String |
ENABLE_DEBUG |
appends, defaults, httpCaching, initArgs, invariantsTYPE| Constructor and Description |
|---|
DataImportHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
DataImporter |
getImporter() |
NamedList |
getStatistics() |
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
inform(SolrCore core) |
void |
init(NamedList args) |
getCategory, getDocs, getInitArgs, getName, getPluginInfo, getRequestHandler, getSource, getSubHandler, getVersion, handleRequest, setPluginInfopublic static final String ENABLE_DEBUG
public DataImporter getImporter()
public void init(NamedList args)
init in interface SolrRequestHandlerinit in class RequestHandlerBasepublic void inform(SolrCore core)
inform in interface SolrCoreAwarepublic void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody in class RequestHandlerBaseExceptionpublic NamedList getStatistics()
getStatistics in interface SolrInfoMBeangetStatistics in class RequestHandlerBasepublic String getDescription()
getDescription in interface SolrInfoMBeangetDescription in class RequestHandlerBaseCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.