Thanks Brian.
 I am using the scroll_id from the SearchResponse returned with each scroll 
request for the subsequent scroll request. And yes, I am repeating the scan 
until there are no more results. However, I was expecting to get n*# of 
shards returned with each request, but I seem to be getting only a few 
shards as successful . It is as though there is no data in the other active 
primary shards and all the data in my index is in a couple of shards.

Regards

On Tuesday, April 15, 2014 12:32:47 PM UTC-7, InquiringMind wrote:
>
> Robbie,
>
> Are you repeating the scan until there are no more hits returned? I've 
> never bothered to check the repeatability of the individual "chunks" and 
> only notice that the overall total count is as expected. Also note the 
> following from the guide:
>
> The scroll request also returns a *new _scroll_id*. Every time we make 
> the next scroll request, we must pass the _scroll_id returned by the 
> *previous* scroll request.
>
>
> Brian
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/93169c34-4d38-43ea-8117-7b64c076aba8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to