lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: SolrCloud: data is present on one shard only
Date Wed, 18 Mar 2015 16:09:36 GMT
On 3/18/2015 9:47 AM, Aman Tandon wrote:
> I have 1,20,000 documents. And I am indexing the data in my solrcloud
> architecture having the two shards. I am having the mindset that some data
> will be present on both the shards. But when I am looking on data size via
> admin interface, I am able to see that all the documents is present on only
> one shard and another shard has zero documents.
> So I am confused and wants to confirm that, does I am doing something wrong?

In your admin UI, click on "Cloud" and then "Tree."  You should see a
"/collections" entry in the list.  Open that, and then click on the
collection you are concerned about.

In the right side of that window, there will be a bunch of fields with
values.  Below that will be a small snippet of JSON text, and one of the
bits of info in that JSON will be a field called "router" ... what is
router set to?

If it is "implicit" then your documents will not be automatically
dispersed across your shards when you index.  They will be indexed into
the shard that received your indexing requests.  You will need to create
a new collection where the router is "compositeId".


View raw message