Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7941

multivalued params are concatenated when using config API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None

    Description

      curl http://localhost:8983/solr/example/config -H 'Content-type:application/json'  -d '{
        "update-requesthandler" : {
          "name": "/rh",
          "class":"solr.DumpRequestHandler",
          "defaults":{  "p": ["a","b","c" ]}
         }
      }’
      

      makes p be a literal string of '[a,b,c]' - instead of an array of strings

      Attachments

        1. SOLR-7941.patch
          1 kB
          Noble Paul
        2. SOLR-7941.patch
          3 kB
          Noble Paul

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: