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
Hello,
When i use the NativeQuery.builder() with a sort on a text field keyword the request fail like if the keyword was not used at all (When using the 5.4.3 there is no issue).
try (SearchHitsIterator<T> result = elasticsearchOperations.searchForStream(query, clazz)) {
final Set<T> documentsFound = new LinkedHashSet<>();
while (result.hasNext()) {
SearchHit<T> next = result.next();
final T content = next.getContent();
final T resultItem = converter.apply(content);
if (resultItem != null) {
documentsFound.add(resultItem);
}
}
return documentsFound;
}
When I execute the query, in the exception response body of the ES server is the same if I execute the query with a sort on a text field and not using the keyword.
Might be linked to the fix on sorting on the 5.4.4 version -> #3072
The text was updated successfully, but these errors were encountered:
Since version 5.4.4
Hello,
When i use the NativeQuery.builder() with a sort on a text field keyword the request fail like if the keyword was not used at all (When using the 5.4.3 there is no issue).
My Es mapping :
My pojo :
My java native query :
The query is executed throught :
When I execute the query, in the exception response body of the ES server is the same if I execute the query with a sort on a text field and not using the keyword.
Might be linked to the fix on sorting on the 5.4.4 version -> #3072
The text was updated successfully, but these errors were encountered: