aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/index
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/index
parentd1005b01fc79f56049ca6244c31dd3d15b64492c (diff)
Save average field length in posting list file header.
Diffstat (limited to 'searchcore/src/tests/proton/index')
-rw-r--r--searchcore/src/tests/proton/index/fusionrunner_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/index/fusionrunner_test.cpp b/searchcore/src/tests/proton/index/fusionrunner_test.cpp
index 25e7a4ffa6b..e6cdbf8d6cb 100644
--- a/searchcore/src/tests/proton/index/fusionrunner_test.cpp
+++ b/searchcore/src/tests/proton/index/fusionrunner_test.cpp
@@ -188,6 +188,7 @@ void Test::createIndex(const string &dir, uint32_t id, bool fusion) {
TuneFileIndexing tuneFileIndexing;
TuneFileAttributes tuneFileAttributes;
index_builder.open(docIdLimit, memory_index.getNumWords(),
+ MockFieldLengthInspector(),
tuneFileIndexing,
_fileHeaderContext);
memory_index.dump(index_builder);