我正在学习一个教程,当您使用Solr执行命令时(就像在官方教程中一样),如果您输出发送到Solr服务器并从Solr服务器接收的命令,以执行如下操作:
$ bin/solr create_core -c films
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/films/config -d
'{"set-user-property": {"update.autoCreateFields":"false"}}'
Copying configuration to new core instance directory:
/home/paul/solr-7.0.0/server/solr/films
Creating new core 'films' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=films&instanceDire=films
{
"responseHeader":{
"status":0,
"QTime:1222},
"core":"films"}当我运行相同的命令时
bin/solr create_core -c films
WARNING: Using _default configset with data driven schema functionality. NOT RECOMMENDED for production use.
To turn off: bin/solr config -c films -p 8983 -action set-user-property -property update.autoCreateFields -value false
INFO - 2018-12-07 10:00:10.021; org.apache.solr.util.configuration.SSLCredentialProviderFactory; Processing SSL Credential Provider chain: env;sysprop
Created new core 'films'如何让我的Solr命令输出额外的信息?
发布于 2018-12-07 13:52:06
在调用-V时追加bin/solr参数
-V Enable more verbose output.。。将end命令设置为bin/solr create_core -c films -V。
https://stackoverflow.com/questions/53668500
复制相似问题