> >> I would recommend to *not* use QueryWrapperFilter and instead wrap with > ConstantScoreQuery and add it to the query as a Boolean MUST clause. In that > case it should work fine. There is no performance increase by using > QueryWrapperFilter, so no reason to use it. > > > > It's important for me that the score does not change from what it was > > before, and i'm unable to construct a booleanquery w/ CSQ that > > basically ignores the filter score.
A CSQ with boost=0.0f does returns a score of 0. If you add it to a BooleanQuery(disableCoord=true), it should not change score (because scores are summed up). The Top-Level BooleanQuery would have disabled coord, consisting of your main query and the filter query. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org