You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2005/01/08 17:21:22 UTC

DO NOT REPLY [Bug 32965] - [PATCH] Use filter bits for next() and skipTo() in FilteredQuery

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
----------------------------------------------------------------------------
            Summary|Use filter bits for next()  |[PATCH] Use filter bits for
                   |and skipTo() in             |next() and skipTo() in
                   |FilteredQuery               |FilteredQuery




------- Additional Comments From paul.elschot@xs4all.nl  2005-01-08 17:21 -------
This 5 Jan 2005 version of FilteredQuery.java could be simplified 
by deriving an intIterator directly from a BitSet. 
In the useIterFilter() method this is done with a SortedVIntList 
in between, but it could easily be done directly. 
 
Perhaps the intIterator attachment should be renamed to DocNrIter 
or DocNrIterator. 
 
With the current Filter only a java.lang.BitSet 
can be used as the underlying data structure for the filter.  
IterFilter allows the use of other data structures, 
eg. an int array of document numbers, or a SortedVIntList. 
 
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