Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None

    Description

      The concept of solrconfig editing is split into multiple pieces . This issue is about registering components and uploading binaries through an API.

      This supports multiple operations

      • commands 'create-requesthandler', "update-requesthandler","delete-requesthandler" which can set the configuration of a component . This configuration will be saved inside the configoverlay.json

      The components has to be available in the classpath of all nodes.
      example for registering a component

      curl http://localhost:8983/solr/collection1/config -H 'Content-type:application/json'  -d '{
      "create-requesthandler" : {"name": "/mypath" ,
                                                "class":"com.mycomponent.ClassName" , 
                                                 "defaults":{"x":"y" ," a":"b"},
                                                 "useParams":"x"
                                               },
      "update-requesthandler" :{"name": "/mypath" ,
                                                 "class":"com.mycomponent.ClassName" ,
                                                 "useParams":"y" ,
                                                 "defaults":{"x":"y" ," a":"b"}
                                               },
      "delete-requesthandler" :"/mypath" 
      }'
      

      Attachments

        1. SOLR-6607.patch
          28 kB
          Noble Paul

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              noble.paul Noble Paul
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: