Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Aggregations do not work because of disabled fielddata #752

Open
ErikvdVen opened this issue Feb 13, 2018 · 0 comments
Open

Aggregations do not work because of disabled fielddata #752

ErikvdVen opened this issue Feb 13, 2018 · 0 comments

Comments

@ErikvdVen
Copy link

During the "employee" tutorial, an example of how to show the most popular interests, is given:
https://www.elastic.co/guide/en/elasticsearch/guide/2.x/_analytics.html

Unfortunately this doesn't work because fielddata is disabled on text fields by default, so the query results in an error. Perhaps it could be a good idea to give instructions at the very beginning of the tutorial, to create a mapping on the index which sets fielddata to true on that specific field? I understand it might be confusing for new users, but still.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant