-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Context:
Some of our scripts trigger this warning:
14:35:54.714 [I/O dispatcher 7] WARN org.elasticsearch.client.RestClient - request [POST http://localhost:9200/optimize-process-instance/process-instance/_search?typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&search_type=query_then_fetch&batched_reduce_size=512] returned 1 warnings: [299 Elasticsearch-6.2.0-37cdac1 "getDate is no longer necessary on date fields as the value is now a date." "Fri, 02 Aug 2019 12:35:54 GMT"]
AT:
- refactor the relevant painless scripts and use the `.value` accessor instead of `.date` on date fields