OpenSearch/plugins/mapper-attachments/src
Britta Weber d8a1a4bd43 fix toXContent() for mapper attachments field
We must use simpleName() instead of name() because otherwise when the mapping
is generated as a string the field name will be the full path with dots
and that is illegal from es 2.0 on.

closes https://github.com/elastic/elasticsearch-mapper-attachments/issues/169
2015-11-30 15:28:12 +01:00
..
main fix toXContent() for mapper attachments field 2015-11-30 15:28:12 +01:00
test fix toXContent() for mapper attachments field 2015-11-30 15:28:12 +01:00