Skip to content

Add option to not write the content of the id property into the stored document #2364

Closed
@sothawo

Description

@sothawo

Currently the value of the id property not only is used to set the _id in Elasticsearch but also is written in the source document itself. It should be possible to disable this.

This might be added to the @Document annotation, the @Id annotation cannot be changed as it's coming from spring-data-commons.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions