When scroll-scanning <http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-request-scroll.html#scroll-scan>, I keep scrolling until I get a result that returns 0 docs, which is what the docs seem to suggest that I should do.
But the final request (the one that returns 0 docs), always has _shards.successful=0. Normally, I’d consider this to indicate a failure (no shards responded). If doing a normal (non-scan) scroll, _shards.successful=1 (I’ve got 1 shard in this case), even when I’ve got to the point where there’s no more docs to scroll. Is this a bug in the scanning? Or am I wrong to consider the _shards.successful=0 to indicate a failure? Tested on version 1.3.1. -- 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/3998b393-476d-4fc4-a809-a15da19bdf8d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
