ClassCastException when sorting on incompatible fields #73146
Labels
>bug
:Search/Search
Search-related issues that do not fall into other categories
Team:Search
Meta label for search team
Elasticsearch version (
bin/elasticsearch --version
): 7.12.1Description of the problem including expected versus actual behavior:
Elasticsearch returns a ClassCastException when trying to sort on incompatible fields across indexes. Discussing this with @romseygeek, we should be returning a specific error instead.
Steps to reproduce:
Last query returns:
The text was updated successfully, but these errors were encountered: