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

I can initialize schema (mappings) on startup if indexes do not exist

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 1.0.0, 1.0.0-alpha1
    • None
    • None
    • None

      If indexes used in import\aggregations are not existing yet
      then initialize them with proper configuration on application startup

      example mapping required for heatmap

      {"mappings": {"event": {"properties": {"activityId": { "type": "text", "fielddata": true}}}}}
      

      Hint

      see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html

      add in readme instructions how to get schema information from ES instance i.e.

      curl -XGET localhost:9200/optimize?pretty
      

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              askar.akhmerov Askar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: