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=33019>.
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=33019





------- Additional Comments From [EMAIL PROTECTED]  2005-01-24 22:04 -------
Paul,

Would be quite interesting to compare the performance with your BooleanScorer2.

in skipTo shouldn´t it be

<         if (target > scorer.doc()) {
>         if (target <= scorer.doc()) {
            more = true;
          } else if (scorer.skipTo(target)) {
            more = true;
          } else {
            sub.done = true;

Setting end in skipTo could avoid some looping in subsequrnt next().

Could you add a method to switch between sorting and non-sorting behavior.
The non-sorting version should not use more resources than the original
BooleanScorer.

Christoph

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

Reply via email to