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 34154] - Further improvements to BooleanScorer2
Date Wed, 23 Mar 2005 20:44:09 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=34154>.
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=34154





------- Additional Comments From paul.elschot@xs4all.nl  2005-03-23 21:44 -------
Created an attachment (id=14551)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14551&action=view)
BooleanScorer2Coord.java

This is a new class, split off from BooleanScorer2.
It extends BooleanScorer2 with the coordination, ie. the
match counting.
Javadocs are included.

There is one to do left in the code:
  /* To do: override makeSumScorer()
   * for special cases, eg. for a single ConjunctionScorer
   * and return these in getDelegatedScorer().
   */
This to do is very similar to the special case of ConjunctionScorer
in the current 1.4.3 BooleanScorer.
When all clauses are required, this BooleanScorer2Coord (like the one
in the trunk) delegates to a ConjunctionScorer that also counts the matches,
which is somewhat superfluous.


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