-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassCastException when sorting while mixing long and float fields #80658
Labels
>enhancement
:Search Relevance/Search
Catch all for Search Relevance
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Comments
Ah, I just see this ist long-float. Same area though, maybe we can add this to the other issue though. |
romseygeek
added
the
:Search/Search
Search-related issues that do not fall into other categories
label
Nov 11, 2021
Pinging @elastic/es-search (Team:Search) |
romseygeek
removed
Team:Search
Meta label for search team
needs:triage
Requires assignment of a team area label
labels
Nov 11, 2021
javanna
added
:Search Relevance/Search
Catch all for Search Relevance
and removed
:Search/Search
Search-related issues that do not fall into other categories
labels
Jul 17, 2024
elasticsearchmachine
added
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
and removed
Team:Search
Meta label for search team
labels
Jul 17, 2024
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>enhancement
:Search Relevance/Search
Catch all for Search Relevance
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Elasticsearch version (
bin/elasticsearch --version
): 7.15.0Description of the problem including expected versus actual behavior:
When sorting search results from two different indices, if a field is defined as a long in one index and a float in the other index, a ClassCastException is thrown rather then Elasticsearch coalescing both values to a "numeric" value and sorting them.
Steps to reproduce:
The last query returns:
This is the case even if one of the documents has the field defined with a
null
value- as long as the mapping of the field differs, this exception is thrown.Related:
The text was updated successfully, but these errors were encountered: