最近通过多方面搜索,发现SolrClound 依赖 Solr.xml 越来越小了。
自己小记一下这几天的发现:
1、启动参数-Dbootstrap_conf=true 配置,可以使用自己core中的配置文件
2、core.properties 的配置
numShards=3#shard数
name=core_words#名称(即collection名称)
schema=schema.xml
loadOnStartup=true
transient=false
collection=core_words
shard=shard1
3、一个 solr-home 多core配置依赖core.properties参数即可