Uploaded image for project: 'Apache Unomi'
  1. Apache Unomi
  2. UNOMI-410

Patch index is not correctly created in elastic search

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • unomi-1.5.0
    • unomi-1.5.5
    • unomi(-core)
    • None

    Description

      When Unomi is started the index in elastic-search for context-patch is not correctly created. The configuration file is not considered for this item.

      The number of shards and number of replicas the unomi.custom.system.properties are not considered.

      For example: 

      With the following configuration:

       

      org.apache.unomi.elasticsearch.monthlyIndex.nbShards=3
      org.apache.unomi.elasticsearch.monthlyIndex.nbReplicas=0
      org.apache.unomi.elasticsearch.defaultIndex.nbShards=3
      org.apache.unomi.elasticsearch.defaultIndex.nbReplicas=0

       

      The indexes will be correctly created except the patch index:

      [o.e.c.m.MetaDataCreateIndexService] [node-1] [context-patch] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []

       

      The patch item does'nt have a default template, so it's not created by unomi when started

      Attachments

        Activity

          People

            Unassigned Unassigned
            Jonathan Sinovassin Jonathan Sinovassin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m