Skip to content
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

Fixes #6698 - ES no longer supports unmapped_type param on _score field sorting #6707

Merged
merged 1 commit into from
Mar 31, 2016

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Mar 30, 2016

Fixes #6698

A simple fix to remove the unmapped_type option if sorting on the _score field now that Elasticsearch no longer supports it: elastic/elasticsearch#17392 (comment)

Upon review, normalizeSortRequest seemed like a natural place to put something like this since it already contains special logic to handle different kinds of fields (e.g. scripted fields).

@spalger
Copy link
Contributor

spalger commented Mar 30, 2016

jenkins, test it

@epixa
Copy link
Contributor

epixa commented Mar 31, 2016

LGTM

@panda01
Copy link
Contributor

panda01 commented Mar 31, 2016

This LGTM, however I'm having trouble reproducing this issue with kibana and es master.

@Bargs Bargs assigned Bargs and unassigned rashidkpc Mar 31, 2016
@Bargs Bargs merged commit bb1360e into elastic:master Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on Discover tab for non-time based patterns with default sort by _score
5 participants