2014-01-17 32 views

回答

2

你就必須上傳兩個CONFIGS到動物園管理員對每個方案,然後做兩個集合的API調用,如:

curl -v "http://localhost:8080/solr/admin/collections?action=CREATE&name=collection1&numShards=2&collection.configName=collection1" 

curl -v "http://localhost:8080/solr/admin/collections?action=CREATE&name=collection2&numShards=2&collection.configName=collection2" 
相關問題