summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2023-01-13 10:23:02 +0000
committerGeir Storli <geirst@yahooinc.com>2023-01-13 10:23:02 +0000
commit358e6545821c23470c99d5875d1fa61e40a004b8 (patch)
tree25bf9ad2b578ccfe7a1052a126db16e3e70b1d71 /searchcore/src/tests/proton/matching
parent697182201491bf75fdd8e5a630208ae8b374b4fd (diff)
Imported attributes can also represent virtual fields.
Diffstat (limited to 'searchcore/src/tests/proton/matching')
-rw-r--r--searchcore/src/tests/proton/matching/index_environment/index_environment_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/matching/index_environment/index_environment_test.cpp b/searchcore/src/tests/proton/matching/index_environment/index_environment_test.cpp
index 404dc5d42e9..9acc6eed669 100644
--- a/searchcore/src/tests/proton/matching/index_environment/index_environment_test.cpp
+++ b/searchcore/src/tests/proton/matching/index_environment/index_environment_test.cpp
@@ -155,8 +155,8 @@ Schema::UP schema_with_virtual_fields() {
result->addAttributeField(SAF("person_map.key", DataType::INT32, CollectionType::ARRAY));
result->addAttributeField(SAF("person_map.value.name", DataType::STRING, CollectionType::ARRAY));
result->addAttributeField(SAF("person_map.value.year", DataType::INT32, CollectionType::ARRAY));
- result->addAttributeField(SAF("int_map.key", DataType::INT32, CollectionType::ARRAY));
- result->addAttributeField(SAF("int_map.value", DataType::INT32, CollectionType::ARRAY));
+ result->addImportedAttributeField(SAF("int_map.key", DataType::INT32, CollectionType::ARRAY));
+ result->addImportedAttributeField(SAF("int_map.value", DataType::INT32, CollectionType::ARRAY));
return result;
}