From c6a73dfcd5a38697d8e5be03fbba0c6ac85fc67a Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Mon, 7 Dec 2015 19:15:15 +0100 Subject: [PATCH] Mapper parsers should not check for a `tokenized` property. I don't recall of this property of any of our field mappers and it's not in our docs so I suspect it's very old. The removal of this property will not fail version upgrades since none of the field mappers use it in toXContent. --- .../java/org/elasticsearch/index/mapper/core/TypeParsers.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/mapper/core/TypeParsers.java b/core/src/main/java/org/elasticsearch/index/mapper/core/TypeParsers.java index 0bb0b213f64..c0e0cef0f0c 100644 --- a/core/src/main/java/org/elasticsearch/index/mapper/core/TypeParsers.java +++ b/core/src/main/java/org/elasticsearch/index/mapper/core/TypeParsers.java @@ -197,9 +197,6 @@ public class TypeParsers { } else if (propName.equals("index")) { parseIndex(name, propNode.toString(), builder); iterator.remove(); - } else if (propName.equals("tokenized")) { - builder.tokenized(nodeBooleanValue(propNode)); - iterator.remove(); } else if (propName.equals(DOC_VALUES)) { builder.docValues(nodeBooleanValue(propNode)); iterator.remove();