Hi All

I have 3 unique servers for elasticsearch, i made the cluster setup in this.

Each and every index has 5 shards and 2 replicas. i have an index with 4 
lac of documents in it. while perform a search query in the elasticsearch 
cluster. the returned documents have different calculated score in 
different servers.

*ex*

*Document      Server 1      Server 2      Server 3*
*-----------------------------------------------------*
*documentA     49.379543      50.168644      49.577785*
*documentB     17.744095      17.979729      18.046381*
*documentC     16.880697      16.748943      16.850113*
*documentD     10.785672      10.744943      10.806508*
.
.

search_type*=dfs_query_then_fetch*

This is because of the document frequency. but i can;t understand that all 
are calculated in shard0 itself. if we set the search preference to 
_primary then the score same for all the request (means all the servers). 
obviously this should be. Because there is no other search hits for the 
replicas.

*My Question is*: what's happen if the search hits the replicas? it 
calculates different score in different servers?

Thanks


-- 
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/6a617a65-3d55-4a4b-8200-ab927f7a55cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to