I would recon that the result-set should contain the 3 hits with the
largest count-value across the 3 fields? Using ES v 0.19.10, this test will
fail when count is 3 (embedded client)
instead of "human" with 3 hits, "robot" with 2 hits will be returned in the
set of 3. When using a larger set, this test will pass, so the data set is
ok.
I would recon that the result-set should contain the 3 hits with the
largest count-value across the 3 fields? Using ES v 0.19.10, this test will
fail when count is 3 (embedded client)
instead of "human" with 3 hits, "robot" with 2 hits will be returned in
the set of 3. When using a larger set, this test will pass, so the data set
is ok.
Indeed, when I change to 1 shard, it works like expected. This happened
during an integration test where only 6 documents where indexed, and with 4
shards I guess this would be very visible.
Thanks!
On Wed, Nov 14, 2012 at 3:09 PM, Igor Motov imotov@gmail.com wrote:
I would recon that the result-set should contain the 3 hits with the
largest count-value across the 3 fields? Using ES v 0.19.10, this test will
fail when count is 3 (embedded client)
instead of "human" with 3 hits, "robot" with 2 hits will be returned in
the set of 3. When using a larger set, this test will pass, so the data set
is ok.
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.