The scores may differ from primary to replica because the scoring (at the 
moment) takes into account information from deleted documents. Since 
segment merging happens independently between shards (or primaries and 
replicas), documents marked as deleted can vary among them.

You can use ?preference to somewhat influence how/where you are searching 
in terms of primaries/replicas:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-preference.html#search-request-preference

So something like:

curl localhost:9200/_search?preference=xxx

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/937245a2-fa6a-4889-af85-db9d42eb184a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to