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 32921] - Some utilities for a compact sparse filter
Date Tue, 21 Jun 2005 09:41:00 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=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 markharw00d@yahoo.co.uk  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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message