Skip to content

Commit

Permalink
Merge pull request #32500 from vespa-engine/toregge/preserve-weights-…
Browse files Browse the repository at this point in the history
…for-prefix-and-range-searches

Preserve weights for prefix and range searches.
  • Loading branch information
geirst authored Oct 1, 2024
2 parents ccc6b68 + 132d212 commit 53d239a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace search::attribute {

using vespalib::btree::BTreeNode;

bool PostingListSearchContext::_preserve_weight = false;
bool PostingListSearchContext::_preserve_weight = true;

PostingListSearchContext::
PostingListSearchContext(const IEnumStoreDictionary& dictionary, bool has_btree_dictionary, uint32_t docIdLimit,
Expand Down

0 comments on commit 53d239a

Please sign in to comment.