Use a simpler prefix for metadata fields in Elasticsearch

Description

We could just prefix these fields with "_", which would make for much more readable mappings.

This goes for the id and tenant id (when using discriminator multi-tenancy), and also for the type (introduced in ).

The situation is different with Lucene, since these meta fields are much more hidden from the user. With elasticsearch, the fields are visible in the mapping.

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure