Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
unomi-1.5.0
-
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