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=32921>. 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=32921 ------- Additional Comments From [EMAIL PROTECTED] 2005-06-21 11:41 ------- >>Did you also consider more than two arguments to these AND and OR iterators? The ability to nest one OrDocNrSkipper in another is effectively a way of achieving the same result. Maybe a static helper method could be useful to construct these nested objects, given an array of DocNrSkippers that need to be Or-ed together. Thinking about it though, there is an advantage to a "flat" arrangement rather than a "nested" approach in the AND iterator. In a flat scheme the skipTo calls will always be optimized to jumping to the largest docNr in the whole group whereas a nested arrangement may make multiple skip calls within each nested pair to achieve the same result. I'll look at redoing the AndDocNrSkipper with this in mind. I'm using these classes for things other than query scoring at the moment so I don't have an immediate answer to your questions on their possible application in scoring - I'll have to have a dig around the scoring code some more. -- 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]
