Package org.apache.solr.handler.loader
Class JsonLoader
java.lang.Object
org.apache.solr.handler.loader.ContentStreamLoader
org.apache.solr.handler.loader.JsonLoader
- Since:
- solr 4.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.solr.common.SolrInputDocumentvoidload(SolrQueryRequest req, SolrQueryResponse rsp, org.apache.solr.common.util.ContentStream stream, UpdateRequestProcessor processor) Loaders are responsible for closing the streamMethods inherited from class org.apache.solr.handler.loader.ContentStreamLoader
init
-
Field Details
-
CHILD_DOC_KEY
- See Also:
-
-
Constructor Details
-
JsonLoader
public JsonLoader()
-
-
Method Details
-
getDefaultWT
- Overrides:
getDefaultWTin classContentStreamLoader
-
load
public void load(SolrQueryRequest req, SolrQueryResponse rsp, org.apache.solr.common.util.ContentStream stream, UpdateRequestProcessor processor) throws Exception Description copied from class:ContentStreamLoaderLoaders are responsible for closing the stream- Specified by:
loadin classContentStreamLoader- Parameters:
req- The inputSolrQueryRequestrsp- The response, in case the Loader wishes to add anythingstream- TheContentStreamto addprocessor- TheUpdateRequestProcessorto use- Throws:
Exception
-
buildDoc
-