This is an automated email from the ASF dual-hosted git repository.
jsinovassinnaik pushed a commit to branch UNOMI-646-update-documentation
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/UNOMI-646-update-documentation
by this push:
new a1cceabda feddbacks
a1cceabda is described below
commit a1cceabda288756855368bd4a62e76999d0702b3
Author: jsinovassin <[email protected]>
AuthorDate: Wed Sep 7 10:14:49 2022 +0200
feddbacks
---
manual/src/main/asciidoc/whats-new.adoc | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/manual/src/main/asciidoc/whats-new.adoc
b/manual/src/main/asciidoc/whats-new.adoc
index af5ff72b4..97e5a1661 100644
--- a/manual/src/main/asciidoc/whats-new.adoc
+++ b/manual/src/main/asciidoc/whats-new.adoc
@@ -52,10 +52,14 @@ More details about JSON Schemas implementation are
available in the <<JSON schem
The introduction of JSON schema required us to modify Apache Unomi data model,
One of the key differences is the removal of open maps.
The properties field in the events objects provided by unomi are now
restricted by JSON schema.
-It's not possible to add value in this property without adding the JSON schema
which allows to add the properties.
+This means object properties must be declared in a JSON schema for an event to
be accepted.
-If there is dynamic properties that you want to add to the event, you should
use the new property of the event named flattenedProperties.
-It's also necessary to specify the format of the values which are added to
flattenedProperties by JSON schema but theses value will
+A new property, flattenedProperties has been introduced to the event object,
this property has been added to store the properties as
+flattened in Elasticsearch and should avoid mapping explosion for dynamic
properties.
+
+If there is dynamic properties that you want to send with your event, you
should use the flattenedProperties field of the event.
+
+It's also necessary to specify the format of the values which are added to
flattenedProperties by JSON schema but these value will be
stored as flattened and will not create dynamic mapping contrary to the
properties field of the events.
Here is an example for objects that used dynamic properties for URL parameters: