diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-08-28 12:33:44 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-08-28 14:59:28 +0200 |
commit | ce3c3e944dd4f466b6f03c0084e0832f055b7d0f (patch) | |
tree | b751f26fe8c5247110ff36a3f6be7aae13956fa3 /searchlib/src/tests/queryeval | |
parent | e9b01926c98277e489a7ecfb544aaf819b72fe4e (diff) |
Extend Document weight attribute interface to use dictionary snapshot
(for reproducible lookup) and store enum index for lookup key.
Diffstat (limited to 'searchlib/src/tests/queryeval')
-rw-r--r-- | searchlib/src/tests/queryeval/parallel_weak_and/parallel_weak_and_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/queryeval/parallel_weak_and/parallel_weak_and_test.cpp b/searchlib/src/tests/queryeval/parallel_weak_and/parallel_weak_and_test.cpp index 9761b0da2d7..f2c02d02080 100644 --- a/searchlib/src/tests/queryeval/parallel_weak_and/parallel_weak_and_test.cpp +++ b/searchlib/src/tests/queryeval/parallel_weak_and/parallel_weak_and_test.cpp @@ -674,7 +674,7 @@ private: MatchParams match_params(_dummy_heap, _dummy_heap.getMinScore(), 1.0, 1); std::vector<IDocumentWeightAttribute::LookupResult> dict_entries; for (size_t i = 0; i < _num_children; ++i) { - dict_entries.push_back(_helper.dwa().lookup(vespalib::make_string("%zu", i).c_str())); + dict_entries.push_back(_helper.dwa().lookup(vespalib::make_string("%zu", i).c_str(), _helper.dwa().get_dictionary_snapshot())); } return create_wand(_use_dwa, _tfmd, match_params, _weights, dict_entries, _helper.dwa(), strict); } |