I deleted the document and re-inserted it, it actually solved the issue 
with that particular document. But now there is one more document that has 
same problem. Ou results looks like containing :
...
         {
            "_index": "twitter",
            "_type": "tweet",
            "_id": "1739753",
            "_score": 8.071245,
            "fields": {
               "en_text_title": [
                  "Young tiger portrait"
               ]
            }
         },
         {
            "_index": "twitter",
            "_type": "tweet",
            "_id": "1739753",
            "_score": 8.071245,
            "fields": {
               "en_text_title": [
                  "Young tiger portrait"
               ]
            }
         },
...

Another important thing to mention here is that we have a multithreaded 
application sending the documents to elasticsearch . Therefore there are 
chances that we may send the same document more than once. 




Thanks
Pir.


On Friday, February 21, 2014 11:57:35 AM UTC+1, Pir Abdul Rasool Qureshi 
wrote:
>
> Hi I am getting same document (with same "_id") repeated more than once in 
> search results.
>
>
> My query looks like 
>
> POST http://XXXX:9200/_search/
> {
>       "query": {
>         "multi_match" : {
>             "fields":[
>                 "en_text_keywords_1^12",
>                 "en_text_keywords_2^8",
>                 "en_text_keywords_3^6",
>                 "en_text_keywords_4^4",
>                 "en_text_keywords_5^2",
>                 "en_text_title^12"
>             ],
>         "query":"animals"
>         }
>     },
>     "size": 1000
>   }
>
>
> Is it a bug? or something I am missing?
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/0b154ae4-fd99-4f9a-830f-69e949e26b8b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to