标签:
导入文档:
sh bin/post -c gettingstarted docs/index.html
删除全部文档:
sh bin/post -c gettingstarted -d "<delete><query>*:*</query></delete>"
删除示例:
bin/solr stop -all ; rm -Rf example/cloud/
创建 collection ‘gettingstarted‘:
http://10.172.85.105:8983/solr/admin/collections?action=CREATE&name=gettingstarted&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=gettingstarted
标签:
原文地址:http://www.cnblogs.com/sheeva/p/5474784.html