尊敬的科幻社区:
我的问题是如何开始使用具有动态/托管模式和SolrCloud的Solr6。
我用过Solr 5和Solr 4。有一个命令"solrctl",使用solrctl,我们可以创建实例目录和设置集合。
例如:
solrctl instancedir --生成$SOLR_HOME/dyndoc
solrctl instancedir --创建dyndoc $SOLR_HOME/dyndoc
-r集合--创建dyndoc -s 1 solrctl 2
在solr 6中,solrctl消失了。
有没有人能给我指点一下如何实现同样的目标。(或者我需要使用REST API)
提前谢谢。
发布于 2016-08-19 20:37:58
solr实用程序现在被命名为solr,并捆绑在您下载的Solr存档中的bin/solr中。
$ bin/solr
Usage: solr COMMAND OPTIONS
where COMMAND is one of: start, stop, restart, status, healthcheck, create, create_core, create_collection, delete, version, zkCreate_collection示例:
$ bin/solr create_collection -help
Usage: solr create_collection [-c collection] [-d confdir] [-n configName] [-shards #] [-replicationFactor #] [-p port]
-c <collection> Name of collection to createhttps://stackoverflow.com/questions/39034004
复制相似问题