Thats the problem, query_and_fetch returns size docs from each shard, and
then the from is again shard related. Use query_then_fetch, which is the
default (and the one people should use 99.999% of the time).
On Mon, Jan 2, 2012 at 4:15 PM, Runar Myklebust runar@myklebust.me wrote:
Query And Fetch
On Mon, Jan 2, 2012 at 3:04 PM, Shay Banon kimchy@gmail.com wrote:
Which search type are you using?
On Mon, Jan 2, 2012 at 4:00 PM, Runar Myklebust runar@myklebust.mewrote:
Im doing some unit-tests and gets some unexpected result when using the
from and size parameters:
I add two documents to the index, with ids 1 and 2.
Thanks, by mistake I thought the Query And Fetch was the default. Maybe it
could be mentioned in the Search API - Search Type documentation?
On Mon, Jan 2, 2012 at 3:17 PM, Shay Banon kimchy@gmail.com wrote:
Thats the problem, query_and_fetch returns size docs from each shard, and
then the from is again shard related. Use query_then_fetch, which is the
default (and the one people should use 99.999% of the time).
On Mon, Jan 2, 2012 at 4:15 PM, Runar Myklebust runar@myklebust.mewrote:
Query And Fetch
On Mon, Jan 2, 2012 at 3:04 PM, Shay Banon kimchy@gmail.com wrote:
Which search type are you using?
On Mon, Jan 2, 2012 at 4:00 PM, Runar Myklebust runar@myklebust.mewrote:
Im doing some unit-tests and gets some unexpected result when using the
from and size parameters:
I add two documents to the index, with ids 1 and 2.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.