This means the association between nb_contacts and canal_contact is lost. If you want to visualize your data with Kibana, you should split up your documents to just have a single details_contacts per document - then the aggregation will work as expected.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.