You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (Jira)" <ji...@apache.org> on 2021/01/12 12:56:00 UTC

[jira] [Resolved] (UNOMI-410) Patch index is not correctly created in elastic search

     [ https://issues.apache.org/jira/browse/UNOMI-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serge Huber resolved UNOMI-410.
-------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 1.5.5
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)