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=31785>. 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=31785 ------- Additional Comments From [EMAIL PROTECTED] 2005-01-31 22:04 ------- I'm trying to get explain() to work in BooleanScorer2 and I stumbled on the following. In a first attempt to get explain() to work in BooleanScorer2, I need to call TermScorer.explain() which gives a smaller result than TermWeight.explain(), which also explains the query weight and the idf. The private TermWeight class in TermQuery.java has an explain() method that calls TermScorer.explain() to explain the term frequency. I'd like to move the explain() functionality from TermWeight to TermScorer to fix this. However, a similar situation exists for MultiPhraseQuery, PhrasePrefixQuery, PhraseQuery and SpanWeight, so that would be a lot of work. There are some alternatives: Keep the Weight close to each scorer in BooleanScorer2 which is also lot of work. Use the existing BooleanScorer.explain() also for BooleanScorer2. This is the current situation. I prefer the last option. 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]