Skip to content

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

Merged
Bargs merged 1 commit intoelastic:masterfrom
Bargs:fix/6698
Mar 31, 2016
Merged

Fixes #6698 - ES no longer supports unmapped_type param on _score field sorting#6707
Bargs merged 1 commit intoelastic:masterfrom
Bargs:fix/6698

Conversation

@Bargs
Copy link
Copy Markdown
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
Copy Markdown
Contributor

spalger commented Mar 30, 2016

jenkins, test it

@epixa
Copy link
Copy Markdown
Contributor

epixa commented Mar 31, 2016

LGTM

@panda01
Copy link
Copy Markdown
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