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
When a Sort like Sort.by(Sort.Direction.ASC, "title.keyword"), is added for the Pageable item, the MappingElasticsearchConverter class removes the .keyword because of the logic in methods updatePropertiesInFieldsSortAndSourceFilter > updateFieldNames. Seems it treats all the properties comming after the dot, as nested fields, while this case may represent a MultiField sorting.
Working with spring-data-elasticsearch version 5.4.4
The text was updated successfully, but these errors were encountered:
Having the next mapping property in my index:
When a Sort like
Sort.by(Sort.Direction.ASC, "title.keyword"),
is added for the Pageable item, theMappingElasticsearchConverter
class removes the.keyword
because of the logic in methodsupdatePropertiesInFieldsSortAndSourceFilter > updateFieldNames
. Seems it treats all the properties comming after the dot, as nested fields, while this case may represent a MultiField sorting.Working with spring-data-elasticsearch version 5.4.4
The text was updated successfully, but these errors were encountered: