Instead of looking to the property "provider.name" the aggregation is looking to the "root" property "name".
If I change the property "name" inside provider to, for example, "providerName" and I change the aggregation to look in "provider.providername" it works fine.
This behaviour started happening when upgrading from elasticSearch 1.3.4 to version 1.7.0
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.