Hi,
i'm experiencing a problem that i'm not able to solve. After years of working with no problems (using ELK stack version 7.6), when i try to make a research in Kibana, it is shown this message:
"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 [values_by_column_condition.date(date_added)] in order to load field data by uninverting the inverted index. Note that this can use significant memory."
From what i read it seems a mapping problem, but the mapping of the problematic field seems correct to me (a text field that is saved also as a keyword):
"date(date_added)" : {
"type" : "text",
"norms" : false,
"fields" : { "keyword" : {"type" : "keyword", "ignore_above" : 256} }
}
If i ispect the details of the request, in the "docvalue_fields" section i see this definition, that i don't understand since the field is a text/keyword
If I remove it and launch the same request from the dev tools, the error disappear.
If anyone can help me I would be very grateful