Jonathan Sinovassin created UNOMI-410:
-----------------------------------------

             Summary: Patch index is not correctly created in elastic search
                 Key: UNOMI-410
                 URL: https://issues.apache.org/jira/browse/UNOMI-410
             Project: Apache Unomi
          Issue Type: Bug
          Components: core
    Affects Versions: 1.5.0
            Reporter: Jonathan Sinovassin


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:

 
{code:java}
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{code}
 

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to