Class UpdateAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.UpdateAPI
-
public class UpdateAPI extends Object
All v2 APIs that share a prefix of /updateMost of these v2 APIs are implemented as pure "pass-throughs" to the v1 code paths, but there are a few exceptions: /update and /update/json are both rewritten to /update/json/docs.
-
-
Constructor Summary
Constructors Constructor Description UpdateAPI(UpdateRequestHandler updateRequestHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdate(SolrQueryRequest req, SolrQueryResponse rsp)voidupdateCsv(SolrQueryRequest req, SolrQueryResponse rsp)voidupdateJavabin(SolrQueryRequest req, SolrQueryResponse rsp)voidupdateJson(SolrQueryRequest req, SolrQueryResponse rsp)voidupdateXml(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
UpdateAPI
public UpdateAPI(UpdateRequestHandler updateRequestHandler)
-
-
Method Detail
-
update
public void update(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
updateXml
public void updateXml(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
updateCsv
public void updateCsv(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
updateJson
public void updateJson(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
updateJavabin
public void updateJavabin(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-