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
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)