/[Apache-SVN]
ViewVC logotype

Revision 1526399


Jump to revision: Previous Next
Author: uschindler
Date: Thu Sep 26 06:46:19 2013 UTC (10 years, 6 months ago)
Changed paths: 4
Log Message:
LUCENE-5245: Fix MultiTermQuery's constant score rewrites to always return a ConstantScoreQuery to make scoring consistent. Previously it returned an empty unwrapped BooleanQuery, if no terms were available, which has a different query norm

Changed paths

Path Details
Directorylucene/dev/trunk/lucene/CHANGES.txt modified , text changed
Directorylucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/ConstantScoreAutoRewrite.java modified , text changed
Directorylucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/ScoringRewrite.java modified , text changed
Directorylucene/dev/trunk/lucene/core/src/test/org/apache/lucene/search/TestMultiTermConstantScore.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26