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

Aggregations do not work because of disabled fielddata #752

Open
@ErikvdVen

Description

@ErikvdVen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions