lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Tandon <amantandon...@gmail.com>
Subject Re: SolrCloud: data is present on one shard only
Date Wed, 18 Mar 2015 16:32:24 GMT
Okay shawn thanks I will try as per your suggestion. And will update here.

With Regards
Aman Tandon

On Wed, Mar 18, 2015 at 9:39 PM, Shawn Heisey <apache@elyograg.org> wrote:

> 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".
>
> Thanks,
> Shawn
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message