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
..
2015-11-26 13:41:00 +01:00
2015-11-26 13:41:00 +01:00
2015-11-26 13:41:00 +01:00
2015-11-26 13:41:00 +01:00
2015-11-26 13:41:00 +01:00
2015-11-30 11:00:32 +01:00