user850234
user850234

Reputation: 3463

How to spread documents across shards automatically in apache solr?

I have setup the core following the steps in http://carsabi.com/car-news/2012/03/23/step-by-step-solr-sharding/ . Now i am stuck at how to spread all my documents evenly among the shards created. I am not using tomcat or zookeeper. Please help. I am not able to figure out the exact steps for the setup.

Upvotes: 0

Views: 732

Answers (1)

Marko Bonaci
Marko Bonaci

Reputation: 5706

That link you posted is no good. It mixes up cores and shards as though they are the same thing.

See here for difference:
http://wiki.apache.org/solr/SolrTerminology
http://lucene.472066.n3.nabble.com/shard-versus-core-td2114829.html

ZK is your friend!

Take a look at my recent response here (recommends ElasticSearch or SolrCloud): https://stackoverflow.com/a/12180442/465710

Upvotes: 1

Related Questions