You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
Section: Getting Started >You Know, for Search...>Analytics
The GET example "For example, let’s find the most popular interests enjoyed by our employees:" will fail since fielddata is disabled on text fields by default. The GET request will result in the error Visualize: Fielddata is disabled on text fields by default. Set fielddata=true on [interests] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory.
This section should include the PUT to enable fielddata on interests: PUT megacorp/_mapping/employee { "employee": { "properties": { "interests": { "type": "text", "fielddata": true } } } }
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Section: Getting Started >You Know, for Search...>Analytics
The GET example "For example, let’s find the most popular interests enjoyed by our employees:" will fail since fielddata is disabled on text fields by default. The GET request will result in the error
Visualize: Fielddata is disabled on text fields by default. Set fielddata=true on [interests] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory.
This section should include the PUT to enable fielddata on interests:
PUT megacorp/_mapping/employee { "employee": { "properties": { "interests": { "type": "text", "fielddata": true } } } }
The text was updated successfully, but these errors were encountered: