From 03a02bf0958ebcfa667ced60a110ba88fd279507 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Fri, 29 Nov 2024 15:31:32 +0000 Subject: [PATCH] Use new limit to control usage of bitvector query time. Use bitvector if it exists, resulting in degraded bm25 score contribution. Otherwise use posocc posting list with full bm25 score contribution. --- .../mmap_vs_directio/app/schemas/wikimedia.sd | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/performance/mmap_vs_directio/app/schemas/wikimedia.sd b/tests/performance/mmap_vs_directio/app/schemas/wikimedia.sd index e3357aaa8..64c5eed32 100644 --- a/tests/performance/mmap_vs_directio/app/schemas/wikimedia.sd +++ b/tests/performance/mmap_vs_directio/app/schemas/wikimedia.sd @@ -27,11 +27,10 @@ schema wikimedia { } } - rank-profile use_bitvectors { - rank title: filter - rank text: filter - first-phase { - expression: attribute(id) + rank-profile use_bitvectors inherits default { + rank-properties { + # This is set to 1/64 which is the limit for generating bitvectors. + vespa.matching.diskindex.bitvector_limit: 0.015625 } }