-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Int and Float field types should use their corresponding Sort types #84799
Comments
Pinging @elastic/es-search (Team:Search) |
Hi. I would like to try working on this issue. |
Reading a little into this, I tracked down places where this logic needs updated. First, we need to create new set Second, Third, There are probably other refactors required, but these are what I found so far. |
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Description
The
int
andfloat
field types in Elasticsearch uselong
anddouble
sort types. This mismatch means that we can't make use of lucene's sorting shortcuts for these field types.A complication here is that just changing the sort types used at runtime may run into problems when dealing with sorted indexes, which will have already written the old, wider sort type into their index metadata.
The text was updated successfully, but these errors were encountered: