Yep.
System.out.println(searchQ.toString());
{
"from" : 0,
"size" : 5,
"query" : {
"match_all" : { }
},
"explain" : false,
"fields" : [ ]
}
Also, I think it's might be connected with sharding.
I've tried to change number_of_shards to 1 and paging starts act as I
expect.
Set number_of_shards to 5 and get 25 hits.
Set number_of_shards to 4 and get 20 hits.
It's seems like from and size applied to every shard separately in my case.
--
Thank you for your time. Best regards.
Dmitry.
--
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/CAA9QNxOjT5wGmris_4uZ8_33uF6d51hzZ3Z%3DUvBKGbRV-YuR2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.