Closed
Description
On last 5.0.5 version,
In the "org.springframework.data.elasticsearch.client.elc" package,
There is the "NativeQueryBuilder" class.
This class has a field named "searchExtensions".
private Map<String, JsonData> searchExtensions = new LinkedHashMap<>()
There is a "withSearchExtensions" setter function for this field.
public NativeQueryBuilder withSearchExtensions(Map<String, JsonData> searchExtensions)
In order for the "searchExtensions" field to be set,
we have to correct this code line searchExtensions.putAll(searchExtensions)
to this.searchExtensions.putAll(searchExtensions)
For information, I created a pull-request
#2543