Skip to content

Commit

Permalink
parseMultiField() method signature change in es 1.4 and master
Browse files Browse the repository at this point in the history
 As seen with elastic#7474, we need to update mapper attachment plugin with this new signature.

 Closes elastic#83.
  • Loading branch information
dadoonet committed Sep 4, 2014
1 parent c0d053d commit 20ee711
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public Mapper.Builder parse(String name, Map<String, Object> node, ParserContext
Map<String, Object> propNode = (Map<String, Object>) entry1.getValue();

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)) {
builder.content(mapperBuilder);
Expand Down

0 comments on commit 20ee711

Please sign in to comment.