Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: