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, 05 Apr 2005 16:03:36 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 paul.elschot@xs4all.nl  2005-04-05 18:03 -------
(In reply to comment #13) 
> I applied this patch (2005-02-22 version) locally, but it doesn't compile as 
is. 
>  It looks like I need to add "throws IOException" to 
> BooleanQuery.BooleanWeight2.createWeight(Searcher) methods, and also to 
> MultiPhraseQuery.createWeight(Searcher) method. 
 
That should be no problem for BooleanWeight2.createWeight(Searcher). 
 
> It looks like I also need to modify TermQuery.TermWeight and add a searcher 
> declaration (private Searcher searcher;), plus the searcher assignment to the 
> constructor (this.searcher = searcher). 
>  
> After these 2-3 changes Lucene compile.  Are my changes OK? 
 
I think so. 
 
Regards, 
Paul Elschot 
 
 

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