Can you print also the full response object (toString()) as well?

-- 
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr


Le 6 juin 2014 à 19:24:00, Дмитрий Киселев (dmitry.v.kise...@gmail.com) a écrit:

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 elasticsearch+unsubscr...@googlegroups.com.
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.

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/etPan.5391fd20.12200854.12ee%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to