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:
parent
c0d053d283
commit
20ee711436
|
@ -269,7 +269,7 @@ public class AttachmentMapper extends AbstractFieldMapper<Object> {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue