You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2015/05/22 15:08:17 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul reopened SOLR-7531:
------------------------------

The property {{updateHandler.autoCommit.openSearcher}} is returned as 
{noformat}
{
updateHandler:{
openSearcher:""
 }
}
{noformat}

> 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.0, 5.1
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Noble Paul
>             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