On Wednesday, May 21, 2014 11:20:53 AM UTC-7, schmichael wrote:
>
> ...
>         2. search_type=scan doesn't seem to honor size=N
>

It seems I missed this in the guide:

"When scanning, the size is applied to each shard, so you will get back a 
maximum of size * number_of_primary_shards documents in each batch."
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/scan-scroll.html

...but that only seems to be the case with the scan search_type. Do I just 
have to divide the user's requested page size by my number of shards (5 at 
this point)?

-- 
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/76d3e1eb-f0dd-46f3-a508-7b246b068e21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to