Eric Pugh created SOLR-17315:
--------------------------------

             Summary: 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


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