From 45f9e6738eb7884155406952dac95c878b087069 Mon Sep 17 00:00:00 2001 From: PSeitz Date: Tue, 1 Nov 2022 08:33:58 +0100 Subject: [PATCH] Update src/query/boolean_query/boolean_weight.rs Co-authored-by: Paul Masurel --- src/query/boolean_query/boolean_weight.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/boolean_query/boolean_weight.rs b/src/query/boolean_query/boolean_weight.rs index dd43270d77..a9f60b01c7 100644 --- a/src/query/boolean_query/boolean_weight.rs +++ b/src/query/boolean_query/boolean_weight.rs @@ -224,7 +224,7 @@ impl Weight for BooleanWeight crate::Result<()> { - let scorer = self.complex_scorer(reader, 1.0, &self.score_combiner_fn)?; + let scorer = self.complex_scorer(reader, 1.0, &DoNothingCombiner)?; match scorer { SpecializedScorer::TermUnion(term_scorers) => { let mut union_scorer = Union::build(term_scorers, &self.score_combiner_fn);