lib/elasticsearch/api/actions/indices/get_field_mapping.rb in elasticsearch-api-0.4.11 vs lib/elasticsearch/api/actions/indices/get_field_mapping.rb in elasticsearch-api-1.0.0.rc1
- old
+ new
@@ -44,11 +44,12 @@
]
method = 'GET'
path = Utils.__pathify(
Utils.__listify(arguments[:index]),
+ '_mapping',
Utils.__listify(arguments[:type]),
- '_mapping', 'field',
+ 'field',
Utils.__listify(arguments[:field])
)
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil