Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2543

Resolve elasticsearch date field scripting warning

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.6.0-alpha2, 2.6.0
    • None
    • backend
    • 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

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: