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

Config API is merging certain key names together

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Starting from a new Solr 5.0 install

      ./bin/solr start -e schemaless
      curl 'http://localhost:8983/solr/gettingstarted/config' > config.json
      

      Open config.json and note that there is a key called "autoCommmitMaxDocs" under the updateHandler section.

      curl 'http://localhost:8983/solr/gettingstarted/config' -H 'Content-type:application/json' -d '{"set-property" : {"updateHandler.autoCommit.maxDocs" : 5000}}'
      curl 'http://localhost:8983/solr/gettingstarted/config' > config.json
      

      Open config.json and note that both the value of updateHandler > autoCommit > maxDocs and updateHandler > autoCommitMaxDocs is now set to 5000

        Attachments

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: