Class 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'.