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 Wed, 27 Apr 2005 10:03:14 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 siberski@learninglab.de  2005-04-27 12:03 -------
Created an attachment (id=14854)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14854&action=view)
Slightly extended Fix to Query.combine()

This is an extension/modification of Chucks patch.
Besides his changes, it contains more test cases (in TestMultiSearcherRanking)
and minor additional modifications to make these tests work:
- if the resulting query consists of only one clause, return that clause
  directly instead of wrapping it into a BooleanQuery.
- BooleanQuery.equals doesn't take clause order into account anymore 
I also have rewritten the loop logic of Query.combine to use a flag instead 
of a labeled break, but this is more a matter of taste.

-- 
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