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 23:42 ------- (In reply to comment #3) > 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()) { Very likely, yes. (I have not yet looked at the code again.) > 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. I thought about that, too. I'll try it later. Basically it would be a flag allowing to use skipTo() and keeping the valid buckets sorted. Regards, Paul -- 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]