ember-nexus / api

Knowledge Graph API
https://ember-nexus.github.io/api
GNU Affero General Public License v3.0
9 stars 1 forks source link

Refactor how data is stored in Elasticsearch #276

Open Syndesi opened 3 months ago

Syndesi commented 3 months ago

Currently the elements data is stored on the root level of Elasticsearch documents, which leads to possible property name conflicts, which in turn were solved by giving system properties priority.

However this has still two disadvantages:

Therefore I propose the following concept:

This would eliminate the aforementioned points completely, leave a whole namespace for future expansion, and make it more clearer to end users which properties are user defined and which are not.