parseMultiField() method signature change in es 1.4 and master

As seen with https://github.com/elasticsearch/elasticsearch/pull/7474, we need to update mapper attachment plugin with this new signature.

 Closes #83.
This commit is contained in:
David Pilato 2014-09-04 11:23:09 +02:00
parent c0d053d283
commit 20ee711436
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ public class AttachmentMapper extends AbstractFieldMapper<Object> {
Map<String, Object> propNode = (Map<String, Object>) entry1.getValue(); Map<String, Object> propNode = (Map<String, Object>) entry1.getValue();
Mapper.Builder<?, ?> mapperBuilder = findMapperBuilder(propNode, propName, parserContext); Mapper.Builder<?, ?> mapperBuilder = findMapperBuilder(propNode, propName, parserContext);
parseMultiField((AbstractFieldMapper.Builder) mapperBuilder, fieldName, (Map<String, Object>) fieldNode, parserContext, propName, propNode); parseMultiField((AbstractFieldMapper.Builder) mapperBuilder, fieldName, parserContext, propName, propNode);
if (propName.equals(name)) { if (propName.equals(name)) {
builder.content(mapperBuilder); builder.content(mapperBuilder);