You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The possibility to not add the id to the document source was added in #2438 and is available in the latest milestone release from yesterday (5.1.0-M2).
Hey! I have a document type which has an
@Id
field and a@Version
field. When I save this, it looks like Spring Boot Elasticsearch tries to set these on the document source in addition to the native Elasticsearch fields. Why is this? You can find the code here:https://github.com/spring-projects/spring-data-elasticsearch/blob/main/src/main/java/org/springframework/data/elasticsearch/core/convert/MappingElasticsearchConverter.java#L1440
Feels very redundant to have these two properties on the document body as well.
Thoughts? Would it be possible to include some configuration to avoid this behavior?
The text was updated successfully, but these errors were encountered: