-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
When executing the multiGet request Elasticsearch client does provide a failure information per each entry. For some not very clear reason to me the implementation for ReactiveElasticsearchClient (and I think ElasticsearchClient too) is silenting those in the same way as non existing entries - https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/client/reactive/DefaultReactiveElasticsearchClient.java#L352
It is not clear to me why this is a desired behaviour. This also makes it impossible to use multiGet from Spring Data layer and handle errors. It is also not very easy to override this behaviour by extending the class - a lot of used utility methods are private.
It would really be useful to not force this and either change the behaviour of client or at least add option to prevent this.