mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
This commit is contained in:
parent
20177f6eee
commit
318ce6ab16
@ -229,6 +229,9 @@ public class TypeParsers {
|
|||||||
builder.indexOptions(nodeIndexOptionValue(propNode));
|
builder.indexOptions(nodeIndexOptionValue(propNode));
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
} else if (propName.equals("include_in_all")) {
|
} else if (propName.equals("include_in_all")) {
|
||||||
|
if(parserContext.isWithinMultiField()) {
|
||||||
|
throw new MapperParsingException("sub-fields shouldn't contain property: include_in_all, and current node is:" + name);
|
||||||
|
}
|
||||||
builder.includeInAll(nodeBooleanValue("include_in_all", propNode, parserContext));
|
builder.includeInAll(nodeBooleanValue("include_in_all", propNode, parserContext));
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
} else if (propName.equals("similarity")) {
|
} else if (propName.equals("similarity")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user