/[Apache-SVN]
ViewVC logotype

Revision 531733


Jump to revision: Previous Next
Author: doronc
Date: Tue Apr 24 05:32:47 2007 UTC (17 years, 6 months ago)
Changed paths: 8
Log Message:
LUCENE-736: Sloppy phrase query with repeating terms matches wrong docs.
For example query "B C B"~2 matches the doc "A B C D E".
Search time cost of this fix is 4%, for sloppy phrase search. 
This fix also partially brings back the the tests checkSkipTo() in QueryUtils, 
(which was disabled by LUCENE-730), but this is now invoked 
only for non Boolean scorers.



Changed paths

Path Details
Directorylucene/java/trunk/CHANGES.txt modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/search/ExactPhraseScorer.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/search/PhrasePositions.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/search/PhraseQueue.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/search/PhraseScorer.java modified , text changed
Directorylucene/java/trunk/src/java/org/apache/lucene/search/SloppyPhraseScorer.java modified , text changed
Directorylucene/java/trunk/src/test/org/apache/lucene/search/QueryUtils.java modified , text changed
Directorylucene/java/trunk/src/test/org/apache/lucene/search/TestPhraseQuery.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26