We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nullValue
address
1 parent 86a1aa0 commit 77c30b1Copy full SHA for 77c30b1
server/src/main/java/org/elasticsearch/index/mapper/IpFieldMapper.java
@@ -582,11 +582,11 @@ protected void parseCreateField(DocumentParserContext context) throws IOExceptio
582
throw e;
583
}
584
585
- if (address != null) {
+ if (nullValue != null) {
586
indexValue(context, address);
587
588
if (offsetsFieldName != null && context.isImmediateParentAnArray() && context.canAddIgnoredField()) {
589
590
BytesRef sortableValue = new BytesRef(InetAddressPoint.encode(address));
591
context.getOffSetContext().recordOffset(offsetsFieldName, sortableValue);
592
} else {
0 commit comments