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

Config API is merging certain key names together

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0, 5.1
    • 5.2, 6.0
    • None
    • 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

            noble.paul Noble Paul
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: