Class ModifyParamSetAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.ModifyParamSetAPI
-
public class ModifyParamSetAPI extends Object
V2 APIs for creating, modifying, or deleting paramsets.This API (POST /v2/collections/collectionName/config/params {...}) is analogous to the commands supported by the v1 /techproducts/config/params
Typically v2 "POST" API implementations separate each "command" into a different method. This is not done here because the v1 API code in SolrConfigHandler expects to consume the request body itself (meaning that nothing _before_ SolrConfigHandler can consume the request body).
As a result the single method below handles all three "commands" supported by the POST /config/params API: 'set', 'delete', and 'update'.
-
-
Constructor Summary
Constructors Constructor Description ModifyParamSetAPI(SolrConfigHandler configHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
modifyParamSets(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
ModifyParamSetAPI
public ModifyParamSetAPI(SolrConfigHandler configHandler)
-
-
Method Detail
-
modifyParamSets
public void modifyParamSets(SolrQueryRequest req, SolrQueryResponse rsp)
-
-