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] - Use filter bits for next() and skipTo() in FilteredQuery
Date Sat, 08 Jan 2005 13:39: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=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 #13910|0                           |1
        is obsolete|                            |




------- Additional Comments From paul.elschot@xs4all.nl  2005-01-08 14:38 -------
Created an attachment (id=13940)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13940&action=view)
Reworked FilteredQuery to also use IterFilter

Using both filter types required introducing some abstract inline superclasses
for the Weight and the Scorer.
The inline subclasses for the Scorer are a bit too large for good
readability.
All Lucene tests pass.

This version always converts a BitSet filter to an IterFilter for testing.
This conversion is done by an calling an the useIterFilter()
method in the BitSet constructor.
Leaving out this call provides backward compatible behaviour.

All tests pass, with and without the call to useIterFilter().
Some tests from TestRangeFilter even show a reduced
size for the SortedVIntList when compared to the BitSet.

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