Please check and revert us. Thanks in advance.
Response :
{“took”:548,“timed_out”:false,“num_reduce_phases”:3,“_shards”:{“total”:180,“successful”:177,“skipped”:0,“failed”:3,
“failures”:[{“shard”:0,“index”:“pnt-os-des2-prd:com-prod-rollup-hp-000041”,“node”:“bGqQH-iqSJqH4-PtLmBygg”,
“reason”:{“type”:“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 [TranCode.keyword.terms] in order to load field data by uninverting the inverted index.
Note that this can use significant memory.”}}]}
Seems a text type field is used for aggregation, you can check the configuration of rollup to change the field to a keyword type field.