diff options
author | Geir Storli <geirst@yahooinc.com> | 2022-06-02 12:01:59 +0000 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-06-08 11:45:24 +0200 |
commit | 52830e64c8fa88bfd17d37fefe9c0d9c3547377a (patch) | |
tree | 52715f77e5ccbb49b06d1c8fe885639ba0aab7af /config-model/src/test/java | |
parent | 1cf8921d21997badc5b335fbf223cf6e71aa1bc7 (diff) |
Remove 'attribute: huge' which has no effect.
Diffstat (limited to 'config-model/src/test/java')
2 files changed, 0 insertions, 13 deletions
diff --git a/config-model/src/test/java/com/yahoo/schema/AttributeSettingsTestCase.java b/config-model/src/test/java/com/yahoo/schema/AttributeSettingsTestCase.java index bbe63f95787..885cc385dfa 100644 --- a/config-model/src/test/java/com/yahoo/schema/AttributeSettingsTestCase.java +++ b/config-model/src/test/java/com/yahoo/schema/AttributeSettingsTestCase.java @@ -37,7 +37,6 @@ public class AttributeSettingsTestCase extends AbstractSchemaTestCase { Attribute a1 = f1.getAttributes().get(f1.getName()); assertEquals(Attribute.Type.LONG, a1.getType()); assertEquals(Attribute.CollectionType.SINGLE, a1.getCollectionType()); - assertTrue(a1.isHuge()); assertFalse(a1.isFastSearch()); assertFalse(a1.isFastAccess()); assertFalse(a1.isRemoveIfZero()); @@ -48,7 +47,6 @@ public class AttributeSettingsTestCase extends AbstractSchemaTestCase { Attribute a2 = f2.getAttributes().get(f2.getName()); assertEquals(Attribute.Type.LONG, a2.getType()); assertEquals(Attribute.CollectionType.SINGLE, a2.getCollectionType()); - assertFalse(a2.isHuge()); assertTrue(a2.isFastSearch()); assertFalse(a2.isFastAccess()); assertFalse(a2.isRemoveIfZero()); @@ -61,7 +59,6 @@ public class AttributeSettingsTestCase extends AbstractSchemaTestCase { Attribute a3 = f3.getAttributes().get(f3.getName()); assertEquals(Attribute.Type.LONG, a3.getType()); assertEquals(Attribute.CollectionType.SINGLE, a3.getCollectionType()); - assertFalse(a3.isHuge()); assertFalse(a3.isFastSearch()); assertFalse(a3.isFastAccess()); assertFalse(a3.isRemoveIfZero()); @@ -306,7 +303,6 @@ public class AttributeSettingsTestCase extends AbstractSchemaTestCase { single.setEnableBitVectors(true); single.setEnableOnlyBitVector(true); single.setFastSearch(true); - single.setHuge(true); single.setPaged(true); single.setFastAccess(true); single.setPosition(true); @@ -329,7 +325,6 @@ public class AttributeSettingsTestCase extends AbstractSchemaTestCase { assertTrue(array.isEnabledBitVectors()); assertTrue(array.isEnabledOnlyBitVector()); assertTrue(array.isFastSearch()); - assertTrue(array.isHuge()); assertTrue(array.isPaged()); assertTrue(array.isFastAccess()); assertTrue(array.isPosition()); 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 c3aa387da54..8d6f05f40e7 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 @@ -116,14 +116,6 @@ public class AttributeChangeValidatorTest { } @Test - public void changing_huge_require_restart() throws Exception { - new Fixture("field f1 type string { indexing: attribute }", - "field f1 type string { indexing: attribute \n attribute: huge }"). - assertValidation(newRestartAction(ClusterSpec.Id.from("test"), - "Field 'f1' changed: add attribute 'huge'")); - } - - @Test public void changing_dense_posting_list_threshold_require_restart() throws Exception { new Fixture( "field f1 type predicate { indexing: attribute \n index { arity: 8 \n dense-posting-list-threshold: 0.2 } }", |