We're using elasticsearch 1.4.0 and we index documents using bulk indexing 
from node client. 

We seem to be getting quite a few duplicates as elasticsearch doesn't seem 
to recognize that there are already documents with the same _id.

GET /searchables/_search
{
    "from": 0,
    "size": 100,
    "query": {
      "ids": {
        "values": ["7373180"]
      }
    
   },
   "_source": "false", 
   "fielddata_fields": [ "_timestamp"]
}


{
   "took": 299,
   "timed_out": false,
   "_shards": {
      "total": 8,
      "successful": 8,
      "failed": 0
   },
   "hits": {
      "total": 2,
      "max_score": 1,
      "hits": [
         {
            "_index": "searchables-1426610789546",
            "_type": "user",
            "_id": "7373180",
            "_score": 1,
            "fields": {
               "_timestamp": 1432446458000
            }
         },
         {
            "_index": "searchables-1426610789546",
            "_type": "user",
            "_id": "7373180",
            "_score": 1,
            "fields": {
               "_timestamp": 1426612089000
            }
         }
      ]
   }
}

-- 
Please update your bookmarks! We have moved to https://discuss.elastic.co/
--- 
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/519a6432-202d-40b6-b4b3-eaea70687917%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to