[ 
https://issues.apache.org/jira/browse/SOLR-17315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850450#comment-17850450
 ] 

Eric Pugh commented on SOLR-17315:
----------------------------------

With the default docker-compose for solr cloud from 
[https://solr.apache.org/guide/solr/latest/deployment-guide/solr-in-docker.html#docker-compose]

 

run docker exec dev-solr-1 solr create -c stuff and then docker exec dev-solr-1 
solr config -c stuff  -action set-user-property -property 
update.autoCreateFields -value false

> Bug in messaging when creating a collection
> -------------------------------------------
>
>                 Key: SOLR-17315
>                 URL: https://issues.apache.org/jira/browse/SOLR-17315
>             Project: Solr
>          Issue Type: Sub-task
>          Components: cli
>    Affects Versions: main (10.0)
>            Reporter: Eric Pugh
>            Priority: Minor
>
> I made a collection, and noticed the default message doesn't format properly:
>  
> {{{
>  bin/solr create -c stuff     
> Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is 
> http://localhost:8983.
> Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is 
> http://localhost:8983.
> WARN  - 2024-05-29 13:48:32.981; org.apache.solr.common.cloud.SolrZkClient; 
> Using default ZkCredentialsInjector. ZkCredentialsInjector is not secure, it 
> creates an empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to 
> Zookeeper nodes
> WARN  - 2024-05-29 13:48:33.049; org.apache.solr.common.cloud.SolrZkClient; 
> Using default ZkACLProvider. DefaultZkACLProvider is not secure, it creates 
> 'OPEN_ACL_UNSAFE' ACLs to Zookeeper nodes
> 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/null/config -d '\{"set-user-property": 
> {"update.autoCreateFields":"false"}}'
>          Or:
>             bin/solr config -c null -p 8983 -action set-user-property 
> -property update.autoCreateFields -value false
> }}}
>  
> -c null is wrong.  Also, on main, the -p didn't work!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to