Skip to content

Commit

Permalink
Use new limit to control usage of bitvector query time.
Browse files Browse the repository at this point in the history
Use bitvector if it exists, resulting in degraded bm25 score contribution.
Otherwise use posocc posting list with full bm25 score contribution.
  • Loading branch information
geirst committed Nov 29, 2024
1 parent de1ed05 commit 03a02bf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/performance/mmap_vs_directio/app/schemas/wikimedia.sd
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 03a02bf

Please sign in to comment.