lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31841] - [PATCH] MultiSearcher problems with Similarity.docFreq()
Date Tue, 26 Apr 2005 20:51:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31841>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31841





------- Additional Comments From chuck@manawiz.com  2005-04-26 22:51 -------
Created an attachment (id=14846)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14846&action=view)
[PATCH] Fix to Query.combine() method and all specializations

This fixes the bugs in Query.combine() that were uncovered by the failing test
in the Highlighter.  Only Query.combine() remains -- all overrides in
BooleanQuery, RangeQuery, MultiTermQuery and PrefixQuery are deleted.  I
believe this fix is correct, robust realtive to possible user Query
implementations, and generates optimal queries for at least the cases that are
built-in to Lucene (query rewriting of MultTermQuery's and RangeQuery's).  This
is more robust relative to possible user Query implementations and covers more
optimizations cases than the version I sent via email last night.  With this
patch, all Lucene and Highlighter tests pass (with the exception of the buggy
TestSort.testNormalizedScores() which should be fixed by Wolf's patch).


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message