I also tried it to query specific shard to make sure that the unique record is present in different shards but still no success.
http://localhost:8983/solr/mcats/select?q.alt=id:174060&shards=localhost:8983/solr/mcats http://localhost:8983/solr/mcats/select?q.alt=id:174060&shards=localhost:1983/solr/mcats My solr cloud setup configs are java -DzkRun -DnumShards=2 -Dbootstrap_confdir=./solr/mcats/conf -Dcollection.configName=myconf -jar start.jar java -Djetty.port=1983 -DzkHost=localhost:9983 -jar start.jar Please help. With Regards Aman Tandon On Wed, May 14, 2014 at 11:05 AM, Aman Tandon <amantandon...@gmail.com>wrote: > I am trying to use the solr cloud for solr 4.2.0 and solr 4.7.1. > Here mcats is our collection name. > > *With solr 4.2* > shard1: localhost:8019 > shard1: localhost:6019 > > *With solr 4.7.1* > shard1: localhost:8983 > shard1: localhost:1983 > > With both the server i make the copy of example directory as mentioned in > wiki, and queried over the both nodes > > *query 1*: > http://localhost:8983/solr/mcats/select?q.alt=id:69763&distrib=false&qt=mcat.intent > *query 2*: > http://localhost:1983/solr/mcats/select?q.alt=id:69763&distrib=false&qt=mcat.intent > > total number of docs count become half but i search for specific id then > the result is same, if distrib=false this enables to search on particular > node then one of these node should not return the return the result. If i > am incorrect please help me out to test that one record is present in one > shard only. > > With Regards > Aman Tandon >