Hi, do you specify a custom routing parameter when indexing the documents? If so, you might have documents with the same ID in different shards:
"When indexing documents specifying a custom _routing, the uniqueness of the _id is not guaranteed throughout all the shards that the index is composed of. In fact, documents with the same _id might end up in different shards if indexed with different _routing values." http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-routing-field.html Best regards, Hannes On 21.02.2014 11:57, 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/5307AA88.2070809%40hkorte.com. For more options, visit https://groups.google.com/groups/opt_out.
