[
https://issues.apache.org/jira/browse/UNOMI-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevan Jahanshahi resolved UNOMI-586.
------------------------------------
Resolution: Fixed
> Use mapping object for not searched documents.
> ----------------------------------------------
>
> Key: UNOMI-586
> URL: https://issues.apache.org/jira/browse/UNOMI-586
> Project: Apache Unomi
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: David Griffon
> Assignee: Kevan Jahanshahi
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently almost all documents in ES are mapped using a dynamic mapping. This
> also for documents that are not queried like:
> - rules
> - conditions
> - goals definition
> - patches
> - segments
> ...
> This task is to:
> - identify the objects that are not used in query
> - for all these objects, change the mapping to use {{object}} instead of
> dynamic mapping
> Note that this can lead to issue, as a dynamic mapping is done on rules for
> example, it is not possible to change the type of a field in any condition
> Another limitation of the mapping is the max depth of the mapping, as the
> conditions can be nested, if one create more than 7 nested condition, it
> reaches that limit.
> See
> https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-settings-limit.html
> for more detail
--
This message was sent by Atlassian Jira
(v8.20.7#820007)