Why are you using the core creation commands rather than the
collection commands? The latter are intended for SolrCloud...

Best
Erick


On Mon, Aug 12, 2013 at 4:51 AM, Prasi S <prasi1...@gmail.com> wrote:

> Hi,
> I have setup solrcloud in solr 4.4, with 2 solr's in 2 tomcat servers and
> Zookeeper.
>
> I setup Zookeeper with a collection "firstcollection" and then i give the
> belwo command
>
>
> http://localhost:8080/solr/admin/cores?action=CREATE&name=mycore_sh1&collection=firstcollection&shard=shard1
>
> Similarly, i create 4 shards. 2 shard in the first instance and two shards
> in the second instance.
>
> When i index files to
> http://localhost:8080/solr/firstcollection/dataimport?command=full-import,
> the data always gets indexed to the shard1.
>
> There are no documents in shard2, 3 ,4. I checked this with
>
> http://localhost:8080/solr/firstcollection/select?q=*:*&fl=[shard]
>
> But searching across any of the two gives full results. It this a problem
> with 4.4 version.
>
> Similar scenario , i have tested in solr 4.0 and itr was working fine.
>
> Pls help.
>

Reply via email to