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}}"

Hi @Dnyaneshwar_Chavan, can you check what the index's mapping is, particularly for that field? Usually this error message is correct and you're indexing timestamps as text fields. You can check the mapping using the Get Mapping API.

Also, are you using App Search or Elasticsearch directly to query this data? You posted this under Enterprise Search, but it's not clear to me you're actually using Enterprise Search features.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.