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