1. Matt Chaput
  2. whoosh
  3. Issues
Issue #2 new

Normalizing should take into account subquery boosts

Matt Chaput
repo owner created an issue

Consider this query:



And([Term(), And([Term(), Term()], boost=2.0)]) }}}

Normalizing will Merge the two Ands, but that changes the meaning of the query.

Normalize should either not merge CompoundQueries with different boosts, or should apply the subquery's boost to its members before hoisting them into the parent query.