You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/05/12 16:51:01 UTC

[jira] [Created] (SOLR-7531) Config API is merging certain key names together

Shalin Shekhar Mangar created SOLR-7531:
-------------------------------------------

             Summary: Config API is merging certain key names together
                 Key: SOLR-7531
                 URL: https://issues.apache.org/jira/browse/SOLR-7531
             Project: Solr
          Issue Type: Bug
    Affects Versions: 5.1, 5.0
            Reporter: Shalin Shekhar Mangar
             Fix For: Trunk, 5.2


Starting from a new Solr 5.0 install

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

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

{code}
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
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org