[
https://issues.apache.org/jira/browse/UNOMI-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Gauthier updated UNOMI-817:
----------------------------------
Description:
For past event conditions, we add a property \{{eventTriggered+md5}} to the
profile and session indexes.
But these properties are never cleaned even if the th condition doesn't exist
anymore.
This can result in a large number of properties getting added to the index, and
could lead to a mapping explosion.
Tech notes:
* These properties need to be moved to a nested property
* pastEventQueryBuilder, pastEventConditionEvaluator, setEventOccurenceCount
action need to be updated
* If there is a way to prevent these properties to be copied to the session,
that would be great
* Requires a migration script, including a full reindexation of the profiles
to clean previous mappings
> past event conditions can generate mapping explosions
> -----------------------------------------------------
>
> Key: UNOMI-817
> URL: https://issues.apache.org/jira/browse/UNOMI-817
> Project: Apache Unomi
> Issue Type: Improvement
> Reporter: Romain Gauthier
> Priority: Major
>
> For past event conditions, we add a property \{{eventTriggered+md5}} to the
> profile and session indexes.
> But these properties are never cleaned even if the th condition doesn't exist
> anymore.
> This can result in a large number of properties getting added to the index,
> and could lead to a mapping explosion.
>
> Tech notes:
> * These properties need to be moved to a nested property
> * pastEventQueryBuilder, pastEventConditionEvaluator, setEventOccurenceCount
> action need to be updated
> * If there is a way to prevent these properties to be copied to the session,
> that would be great
> * Requires a migration script, including a full reindexation of the profiles
> to clean previous mappings
--
This message was sent by Atlassian Jira
(v8.20.10#820010)