Getting below error in discover window while accessing index.
[illegal_argument_exception] 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 [doc.Body.UserAccountData.UserAccountStringData.KycDetail.BUSINESS_DETAILS_-_A/M/T_KYC.DATE_OF_SIGN_UP] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
In ElasticSearch, Field has data as shown below and Date type is Date.
"DATE_OF_SIGN_UP" : "2020-06-16T21:00:00.000Z"
ElasticSearch 7.8.0
Kibana 7.8.0
Can anyone help on this ?