diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-04-21 19:17:58 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-04-21 19:17:58 +0200 |
commit | 817886dc7c06c9ea9d62cf9379d10ad41af899d6 (patch) | |
tree | e57af0d4ee5b356b2a6dda9568c726571893d64d /config-model | |
parent | e231690b7a42fad1792a70e48b609b9ef8dd19cb (diff) |
Remove obsolete comment.
Diffstat (limited to 'config-model')
2 files changed, 1 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidator.java b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidator.java index 8406e116ad7..7a17fe5e80a 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidator.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidator.java @@ -100,7 +100,6 @@ public class AttributeChangeValidator { for (Attribute nextAttr : nextFields.attributes()) { Attribute currAttr = currentFields.getAttribute(nextAttr.getName()); if (currAttr != null) { - // These validations can be removed as there are they are 1-1 with attributes.def which has restart annotations for them. validateAttributeSetting(id, currAttr, nextAttr, Attribute::isFastSearch, "fast-search", result); validateAttributeSetting(id, currAttr, nextAttr, Attribute::isFastAccess, "fast-access", result); validateAttributeSetting(id, currAttr, nextAttr, AttributeChangeValidator::extractDictionaryType, "dictionary: btree/hash", result); diff --git a/config-model/src/test/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidatorTest.java b/config-model/src/test/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidatorTest.java index 3fc7b82b430..cd8afa404da 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidatorTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/application/validation/change/search/AttributeChangeValidatorTest.java @@ -99,7 +99,7 @@ public class AttributeChangeValidatorTest { new Fixture("field f1 type string { indexing: attribute\n attribute: fast-search\n dictionary { hash\ncased}\nmatch:cased}", "field f1 type string { indexing: attribute\n attribute: fast-search\n dictionary{ btree} }"). assertValidation(newRestartAction(ClusterSpec.Id.from("test"), - "Field 'f1' changed: change property 'dictionary: btree/hash' from 'HASH' to 'BTREE'")); + "Field 'f1' changed: change property 'dictionary: cased/uncased' from 'CASED' to 'UNCASED'")); } @Test |