I add two same documents the only different thing is _id of documents (I
restart scenario for each of them and I do not add them sequentially. to be
sure my test is correct)
one of them changes order of result of this query and one of them does not:
The difference is probably due to the fact that your documents ended on
different shards where doc frequencies are different. You should be able to
make it a bit better by using distributed frequencies.
On Tue, Mar 31, 2015 at 3:18 PM, Mohammad.R esmailzadeh < esmailzadeh@gmail.com> wrote:
I add two same documents the only different thing is _id of documents (I
restart scenario for each of them and I do not add them sequentially. to be
sure my test is correct)
one of them changes order of result of this query and one of them does
not:
Thanks for your response.
it is completely confusing for me why elasticsearch was configured for
large data by default instead of development and developers should find
these tiny tips under thousands of documentations.
On Tuesday, 31 March 2015 17:54:00 UTC+4:30, Adrien Grand wrote:
On Tue, Mar 31, 2015 at 3:18 PM, Mohammad.R esmailzadeh < esmai...@gmail.com <javascript:>> wrote:
I add two same documents the only different thing is _id of documents (I
restart scenario for each of them and I do not add them sequentially. to be
sure my test is correct)
one of them changes order of result of this query and one of them does
not:
On Tue, Mar 31, 2015 at 4:13 PM, Mohammad.R esmailzadeh < esmailzadeh@gmail.com> wrote:
it is completely confusing for me why elasticsearch was configured for
large data by default instead of development and developers should find
these tiny tips under thousands of documentations.
I'm sorry you had a bad experience. I don't really have a good answer for
you here: the right value for a particular setting depends on your usage of
elasticsearch and while we strive at having good defaults, they can't
always be right for everyone.
In case you missed it, there is a free book about elasticsearch ( Elasticsearch: The Definitive Guide [2.x] | Elastic)
which you can read and dives you into how elasticsearch works and how to
use it so that you don't have to crawl the reference API every time that
you start using a new API.
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.