-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Description
Elasticsearch version: 2.1.2
JVM version: openjdk 8u91-b14-0ubuntu4~15.10.1
OS version: ubuntu 15.10
Description of the problem including expected versus actual behavior:
Trying to put settings through REST API using YAML format fails with exception json_parse_exception.
Steps to reproduce:
- simply run the following
curl -XPUT localhost:9200/some-index/_settings?pretty --data-binary '
---
analysis:
analyzer:
default: { type: keyword }
'
I believe that problem is here https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/common/settings/loader/SettingsLoaderFactory.java#L73-L79
PS: it made my day when I saw this lines, you guys are the best)
Metadata
Metadata
Assignees
Labels
No labels