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 32965] - [PATCH] Use filter bits for next() and skipTo() in FilteredQuery
Date Sat, 08 Jan 2005 21:40:55 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=32965>.
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=32965


paul.elschot@xs4all.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13940|0                           |1
        is obsolete|                            |




------- Additional Comments From paul.elschot@xs4all.nl  2005-01-08 22:40 -------
Created an attachment (id=13944)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13944&action=view)
Refactoring of FilteredQuery, 2nd version of 8 Jan 2005.

FilteredScorer now has separate methods for next() and skipTo()
for the filter (abstract filterNext() and abstract filterSkipTo())
and for the query scorer (scorerNext() and scorerSkipTo()).
The next() and skipTo() methods work like ConjunctionScorer,
but the filter and query scorer are separately called.
The filter is always used before the query scorer to minimize I/O.

The inline subclasses of FilteredScorer for Filter and IterFilter
only differ for the filterNext() and filterSkipTo() methods and on a helper
method for explain(), so they now have a readable size.

Regards,
Paul Elschot


-- 
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: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message