summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/memoryindex/datastore/featurestore_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/memoryindex/datastore/featurestore_test.cpp')
-rw-r--r--searchlib/src/tests/memoryindex/datastore/featurestore_test.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/searchlib/src/tests/memoryindex/datastore/featurestore_test.cpp b/searchlib/src/tests/memoryindex/datastore/featurestore_test.cpp
index c13aeaa1053..b7207966ece 100644
--- a/searchlib/src/tests/memoryindex/datastore/featurestore_test.cpp
+++ b/searchlib/src/tests/memoryindex/datastore/featurestore_test.cpp
@@ -9,6 +9,9 @@ using namespace search::btree;
using namespace search::datastore;
using namespace search::index;
+using search::index::schema::CollectionType;
+using search::index::schema::DataType;
+
namespace search
{
@@ -217,8 +220,8 @@ Test::requireThatAddFeaturesTriggersChangeOfBuffer(void)
Test::Test()
: _schema()
{
- _schema.addIndexField(Schema::IndexField("f0", schema::STRING));
- _schema.addIndexField(Schema::IndexField("f1", schema::STRING, schema::WEIGHTEDSET));
+ _schema.addIndexField(Schema::IndexField("f0", DataType::STRING));
+ _schema.addIndexField(Schema::IndexField("f1", DataType::STRING, CollectionType::WEIGHTEDSET));
}