-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Sort on single field as a list produces parse error #17257
Copy link
Copy link
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug
Description
Elasticsearch version: 5.0.0 (3ed4ff0)
JVM version: OpenJDK 64-Bit Server VM (build 25.74-b02, mixed mode)
OS version: Linux 4.1.20-1-lts
Description of the problem including expected versus actual behavior: When sorting on a single field and passing it in a list you get: Failed to derive xcontent error
Steps to reproduce:
curl -X PUT localhost:9200/i/t/42 -d '{"number": 123}'curl localhost:9200/_search -d '{"sort": ["number"]}'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug
Type
Fields
Give feedbackNo fields configured for issues without a type.