From 20ee711436e43b87a6917a821a0d88c6602e58b2 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Thu, 4 Sep 2014 11:23:09 +0200 Subject: [PATCH] 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. --- .../elasticsearch/index/mapper/attachment/AttachmentMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java b/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java index bc0725b553f..72c62b91ded 100644 --- a/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java +++ b/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java @@ -269,7 +269,7 @@ public class AttachmentMapper extends AbstractFieldMapper { Map propNode = (Map) entry1.getValue(); Mapper.Builder mapperBuilder = findMapperBuilder(propNode, propName, parserContext); - parseMultiField((AbstractFieldMapper.Builder) mapperBuilder, fieldName, (Map) fieldNode, parserContext, propName, propNode); + parseMultiField((AbstractFieldMapper.Builder) mapperBuilder, fieldName, parserContext, propName, propNode); if (propName.equals(name)) { builder.content(mapperBuilder);