Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
7.0
-
None
Description
In SOLR-10920 a WARNING was added when creating a data driven collection with config-set _default.
That output from bin/solr is quite heavy:
WARNING: Using _default configset. Data driven schema functionality is enabled by default, which is NOT RECOMMENDED for production use. To turn it off: curl http://localhost:8983/solr/foo/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'
Suggest this output instead, avoiding cURL:
WARNING: Using _default configset with data driven schema functionality. NOT RECOMMENDED for production use. To turn off: bin/solr config -c mycoll -p myport -property update.autoCreateFields -value false
We already have the ConfigTool in SolrCLI, but it needs to understand -c in addition to -collection and -p in addition to -solrUrl to be more familiar.
Also suggest to move the printout from bin/solr and bin/solr.cmd to SolrCLI at the same time.
Attachments
Attachments
Issue Links
- breaks
-
SOLR-12481 update.autoCreateFields must be set via Config API command 'set-user-property', but 'bin/solr create' tells users to use the default action 'set-property', which fails because the property is not editable
- Closed
- is related to
-
SOLR-10920 Add warning for disabling data driven nature before production
- Closed
-
SOLR-12437 Document bin/solr config in the ref guide
- Closed
- relates to
-
SOLR-12434 bin/solr {config,healthcheck} ignore ZK_HOST in solr.in.{sh,cmd}
- Closed
-
SOLR-10628 Less verbose output from bin/solr commands
- Closed