summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/feed_and_search
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-06-06 14:56:29 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-06-06 18:54:56 +0200
commit1d079165f38e46422e4b4f51189c97b3fbe9d125 (patch)
tree02dbd194f079452f6296370a128b93b254033d12 /searchcore/src/tests/proton/feed_and_search
parentd1005b01fc79f56049ca6244c31dd3d15b64492c (diff)
Save average field length in posting list file header.
Diffstat (limited to 'searchcore/src/tests/proton/feed_and_search')
-rw-r--r--searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp b/searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp
index 9a343667fd6..23a87415f7f 100644
--- a/searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp
+++ b/searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp
@@ -172,7 +172,7 @@ void Test::requireThatMemoryIndexCanBeDumpedAndSearched() {
const uint64_t num_words = memory_index.getNumWords();
search::TuneFileIndexing tuneFileIndexing;
DummyFileHeaderContext fileHeaderContext;
- index_builder.open(docIdLimit, num_words, tuneFileIndexing, fileHeaderContext);
+ index_builder.open(docIdLimit, num_words, MockFieldLengthInspector(), tuneFileIndexing, fileHeaderContext);
memory_index.dump(index_builder);
index_builder.close();