The following query is now returning duplicate documents following the 
upgrade to 1.2.0, was this an intentional change that's documented 
somewhere?

{
  "from": 0,
  "size": 25,
  "sort": {
    "_script": {
      "order": "desc",
      "type": "number",
      "script": "(doc['id'].value + salt).hashCode()",
      "params": {
        "salt": "TMJHXYFHHR"
      }
    }
  },
  "query": {
    "term": {
      "featured": {
        "value": "true"
      }
    }
  }
}

The cluster has 2 nodes and the index has the default of 5 shards.

-- 
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/4c569495-b04b-4185-9eb9-bc159590848a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to