getting illegal_argument_exception",
"reason" : "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 [lastUpdateDttm] in order to load field data by uninverting the inverted index. Note that this can use significant memory." for lastUpdateDttm attribute.
lastUpdateDttm is date field and we have _ingest/pipeline/timestamp for this field. it was erlier but it stopped working now
{
"timestamp" : {
"description" : "Creates a timestamp when a document is initially indexed",
"processors" : [
{
"set" : {
"field" : "_source._timestamp",
"value" : "{{_ingest.timestamp}}"
}
}
]
}
}