aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/apps/tests/memoryindexstress_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/apps/tests/memoryindexstress_test.cpp')
-rw-r--r--searchlib/src/apps/tests/memoryindexstress_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/searchlib/src/apps/tests/memoryindexstress_test.cpp b/searchlib/src/apps/tests/memoryindexstress_test.cpp
index 9ee47cc6849..dd445745f18 100644
--- a/searchlib/src/apps/tests/memoryindexstress_test.cpp
+++ b/searchlib/src/apps/tests/memoryindexstress_test.cpp
@@ -227,7 +227,9 @@ struct Fixture {
index.insertDocument(id, *doc);
}
void remove(uint32_t id) {
- index.removeDocument(id);
+ std::vector<uint32_t> lids;
+ lids.push_back(id);
+ index.removeDocuments(std::move(lids));
}
void readWork(uint32_t cnt);