Were _field_names aggregations removed in 5.x?


#1

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


(Lee Hinman) #2

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.


#3

Thanks! Can you think of a way (other than managing the fields myself or using a key/value approach) to solve the same problem?


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.