com.arsdigita.search.lucene
Class IntersectionFilter
java.lang.Object
org.apache.lucene.search.Filter
com.arsdigita.search.lucene.IntersectionFilter
- public class IntersectionFilter
- extends org.apache.lucene.search.Filter
A filter whose bitset corresponds to the
logical AND of the bitsets from the wrapped filters.
Thus it selects the intersection of results selected
by each wrapped filter.
Method Summary |
BitSet |
bits(org.apache.lucene.index.IndexReader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntersectionFilter
public IntersectionFilter(org.apache.lucene.search.Filter[] filters)
bits
public BitSet bits(org.apache.lucene.index.IndexReader reader)
throws IOException
- Returns:
- bitset for the AND of all wrapped filters
- Throws:
IOException
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC