I can't get this [1] to work in 5.x, and the documentation no longer includes aggregations [2].
1 - https://www.elastic.co/guide/en/elasticsearch/reference/2.4/mapping-field-names-field.html
2 - https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-field-names-field.html
It looks like this was removed in 2.0 (see: https://github.com/elastic/elasticsearch/pull/10893) and is no longer configurable (other than enabling or disabling the field).
I suspect the documentation was updated to remove the mentions for aggs since it can only be used for queries now.
Thanks! Can you think of a way (other than managing the fields myself or using a key/value approach) to solve the same problem?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.