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. https://www.elastic.co/blog/understanding-query-then-fetch-vs-dfs-query-then-fetch
On Tue, Mar 31, 2015 at 3:18 PM, Mohammad.R esmailzadeh < esmailza...@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: > > GET index_for_test/business/_search > { > > "query": { > "multi_match": { > "query": "italian", > "type": "most_fields", > "fields": [ "name^10", "categories" ] > } > } > } > > i think it should be bug > > my original question was: > > https://github.com/elastic/elasticsearch/issues/10341 > > -- > 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/5d0eba0f-0809-4a68-b247-0640addb9119%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/5d0eba0f-0809-4a68-b247-0640addb9119%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adrien -- 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/CAO5%3DkAg-z%3DDqNptG14Ekp_czAYLxCZXYkgzK%3DokV3X9f6d%2BvSA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.