常规Solor操作

#第一次启动,初始化ZK
./solr start -c -p 8983 -s match1 -d server -a "-Dbootstrap_confdir=./solr/collection1/conf  -Dcollection.configName=myconf -DnumShards=5" -V

#后续启动

./solr start -c -p 8983 -s match1 -d server -V

./solr start -c -p 8984 -s match2 -d server -V


1.上传新版程序至 solr4.10.3

2.复制文件 collection1 至 collection

3.加执行权限 /bin

4.清理ZK的Solr节点

5.启动节点1

6.依次启动其他节点


<delete> 
<query> 
id:* 
</query> 
</delete>


你可能感兴趣的:(常规Solor操作)