I have one question recently i have done reindexing then ES up-gradation from v6.8.23 to v7.17.9. After this operation i noticed some error in elastic-search.
Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations a
re disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [TARGET_NAME] in order to load field data by uninverting the inverted index.
I would like to know How can i change this default option and what would be the step?
It looks like you are performing aggregations (perhaps in some dashboard visualizations) using a text type field rather than a keyword type field. Are you able to change your query/ visualization to use the keyword field instead?
Thanks for the suggestion as of now I have not updated my query but let me try update it accordingly. If i do not want to change Dashboards visualizations query then this(fielddata=true) option i have to append to my query?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.