diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-11-04 17:19:43 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-11-04 17:21:58 +0100 |
commit | 977c9804af8ba92efc2275e9a68f7c939a596309 (patch) | |
tree | 4ac447e7dd3648d7d665ae25149d79968192990f /searchlib/src/tests/memoryindex/document_inverter_collection/document_inverter_collection_test.cpp | |
parent | a9c05e54b74bf9a6d6d77e484b6738de40ca8274 (diff) |
Move portions of search::memoryindex::test::OrderedFieldIndexInserter to
search::memoryindex::test::OrderedFieldIndexInserterBackend.
Diffstat (limited to 'searchlib/src/tests/memoryindex/document_inverter_collection/document_inverter_collection_test.cpp')
-rw-r--r-- | searchlib/src/tests/memoryindex/document_inverter_collection/document_inverter_collection_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/tests/memoryindex/document_inverter_collection/document_inverter_collection_test.cpp b/searchlib/src/tests/memoryindex/document_inverter_collection/document_inverter_collection_test.cpp index a6d675d05dc..ef08a6fd0e1 100644 --- a/searchlib/src/tests/memoryindex/document_inverter_collection/document_inverter_collection_test.cpp +++ b/searchlib/src/tests/memoryindex/document_inverter_collection/document_inverter_collection_test.cpp @@ -9,7 +9,7 @@ #include <vespa/searchlib/memoryindex/i_field_index_collection.h> #include <vespa/searchlib/memoryindex/word_store.h> #include <vespa/searchlib/test/memoryindex/mock_field_index_collection.h> -#include <vespa/searchlib/test/memoryindex/ordered_field_index_inserter.h> +#include <vespa/searchlib/test/memoryindex/ordered_field_index_inserter_backend.h> #include <vespa/vespalib/util/retain_guard.h> #include <vespa/vespalib/util/sequencedtaskexecutor.h> #include <thread> @@ -35,7 +35,7 @@ struct DocumentInverterCollectionTest : public ::testing::Test { std::unique_ptr<ISequencedTaskExecutor> _pushThreads; WordStore _word_store; FieldIndexRemover _remover; - test::OrderedFieldIndexInserter _inserter; + test::OrderedFieldIndexInserterBackend _inserter_backend; FieldLengthCalculator _calculator; test::MockFieldIndexCollection _fic; DocumentInverterContext _inv_context; @@ -47,9 +47,9 @@ struct DocumentInverterCollectionTest : public ::testing::Test { _pushThreads(SequencedTaskExecutor::create(push_executor, 4)), _word_store(), _remover(_word_store), - _inserter(), + _inserter_backend(), _calculator(), - _fic(_remover, _inserter, _calculator), + _fic(_remover, _inserter_backend, _calculator), _inv_context(_schema, *_invertThreads, *_pushThreads, _fic), _inv_collection(_inv_context, 10) { |