You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Gerlowski (JIRA)" <ji...@apache.org> on 2018/02/17 18:27:00 UTC
[jira] [Commented] (SOLR-11108) Shorten _default configset warning
and use ConfigTool
[ https://issues.apache.org/jira/browse/SOLR-11108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16368308#comment-16368308 ]
Jason Gerlowski commented on SOLR-11108:
----------------------------------------
I'm going to reexamine the patch here and see if it needs anything else before being merged. If there are no problems with the tests I hope to merge this later today.
> Shorten _default configset warning and use ConfigTool
> -----------------------------------------------------
>
> Key: SOLR-11108
> URL: https://issues.apache.org/jira/browse/SOLR-11108
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Affects Versions: 7.0
> Reporter: Jan Høydahl
> Assignee: Jason Gerlowski
> Priority: Major
> Fix For: master (8.0), 7.3
>
> Attachments: SOLR-11108.patch, SOLR-11108.patch
>
>
> 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:
> {noformat}
> 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"}}'
> {noformat}
> Suggest this output instead, avoiding cURL:
> {noformat}
> 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
> {noformat}
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org