Remove duplicate documents from a search in Elasticsearch
问题 I have an index with a lot of paper with the same value for the same field. I have one deduplication on this field. Aggregators will come to me as counters. I would like a list of documents. My index : Doc 1 {domain: \'domain1.fr\', name: \'name1\', date: \'01-01-2014\'} Doc 2 {domain: \'domain1.fr\', name: \'name1\', date: \'01-02-2014\'} Doc 3 {domain: \'domain2.fr\', name: \'name2\', date: \'01-03-2014\'} Doc 4 {domain: \'domain2.fr\', name: \'name2\', date: \'01-04-2014\'} Doc 5 {domain: