Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify kibana-index.ndjson for Elastic 7.12.0 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petrov9
Copy link

@petrov9 petrov9 commented Apr 18, 2021

Prerequisite: In elastic 7.12.0 changed the search way, now it uses text and keyword types.

In order to solve elastic error: "Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [name] in order to load field data by uninverting the inverted index. Note that this can use significant memory",

Scripts for scripted fields are changed from doc['name'] to doc['name.keyword']

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

Successfully merging this pull request may close these issues.

1 participant