elastic/elasticsearch
View on GitHubFail sorting when the field is under a nested object but no `nested_path` is specified
Open
#21704 opened on Nov 21, 2016
:Search Relevance/Search>enhancementTeam:Search Relevancehelp wanted
Description
Follow-up to #21685. Maybe we should fail queries when a sort field is under a nested object and this nested object does not copy data to the parent/root (include_in_parent) since that would always be a mistake?