Get field mapping documented fields as field

This commit is contained in:
Martijn Laarman 2015-10-02 12:54:07 +02:00
parent 4a49f4d928
commit 6c7e135b49
1 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"path": "/_mapping/field/{field}", "path": "/_mapping/field/{fields}",
"paths": ["/_mapping/field/{field}", "/{index}/_mapping/field/{field}", "/_mapping/{type}/field/{field}", "/{index}/_mapping/{type}/field/{field}"], "paths": ["/_mapping/field/{fields}", "/{index}/_mapping/field/{fields}", "/_mapping/{type}/field/{fields}", "/{index}/_mapping/{type}/field/{fields}"],
"parts": { "parts": {
"index": { "index": {
"type" : "list", "type" : "list",
@ -14,7 +14,7 @@
"type" : "list", "type" : "list",
"description" : "A comma-separated list of document types" "description" : "A comma-separated list of document types"
}, },
"field": { "fields": {
"type" : "list", "type" : "list",
"description" : "A comma-separated list of fields", "description" : "A comma-separated list of fields",
"required" : true "required" : true