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, invariants
TYPE
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, setPluginInfo
public static final String ENABLE_DEBUG
public DataImporter getImporter()
public void init(NamedList args)
init
in interface SolrRequestHandler
init
in class RequestHandlerBase
public void inform(SolrCore core)
inform
in interface SolrCoreAware
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody
in class RequestHandlerBase
Exception
public NamedList getStatistics()
getStatistics
in interface SolrInfoMBean
getStatistics
in class RequestHandlerBase
public String getDescription()
getDescription
in interface SolrInfoMBean
getDescription
in class RequestHandlerBase
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.