[
https://issues.apache.org/jira/browse/UNOMI-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevan Jahanshahi resolved UNOMI-584.
------------------------------------
Resolution: Fixed
> Introduce new property to Event and provide flattened indexation in ES
> ----------------------------------------------------------------------
>
> Key: UNOMI-584
> URL: https://issues.apache.org/jira/browse/UNOMI-584
> Project: Apache Unomi
> Issue Type: New Feature
> Affects Versions: 2.0.0
> Reporter: Kevan Jahanshahi
> Assignee: Kevan Jahanshahi
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The goal of the new property is to be:
> {code:java}
> private Map<String, Object> flattenedProperties; {code}
> directly in the Event.java class.
> Then provide the ES mapping that is explicitly indexing this prop as
> flattened in ElasticSearch.
> This new property will be really useful for supporting incoming events with
> dynamic data structure and still be protected against mapping explosion in
> ElasticSearch.
> Additional: provide a simple integration test on this one:
> * create an event with data in the flattenedProperties
> * persist the event
> * try to build some condition and evaluate there results to insure the it's
> correct and expected.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)