diff options
Diffstat (limited to 'searchlib/src/tests/features')
-rw-r--r-- | searchlib/src/tests/features/prod_features_attributematch.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/searchlib/src/tests/features/prod_features_attributematch.cpp b/searchlib/src/tests/features/prod_features_attributematch.cpp index cab9c66a95b..4ddb3170efe 100644 --- a/searchlib/src/tests/features/prod_features_attributematch.cpp +++ b/searchlib/src/tests/features/prod_features_attributematch.cpp @@ -307,9 +307,6 @@ Test::testAttributeMatch() { // tensor attribute is not allowed FtFeatureTest ft(_factory, "attributeMatch(tensor)"); ft.getIndexEnv().getBuilder().addField(FieldType::ATTRIBUTE, CollectionType::SINGLE, DataType::TENSOR, "tensor"); - AttributePtr tensorAttr = AttributeFactory::createAttribute("tensor", AVC (AVBT::TENSOR, AVCT::SINGLE)); - tensorAttr->addReservedDoc(); - ft.getIndexEnv().getAttributeMap().add(tensorAttr); ASSERT_TRUE(ft.getQueryEnv().getBuilder().addAttributeNode("tensor") != nullptr); ASSERT_TRUE(!ft.setup()); } |