com.arsdigita.search.lucene
Class IntersectionFilter

java.lang.Object
  extended byorg.apache.lucene.search.Filter
      extended bycom.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.


Constructor Summary
IntersectionFilter(org.apache.lucene.search.Filter[] filters)
           
 
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
 

Constructor Detail

IntersectionFilter

public IntersectionFilter(org.apache.lucene.search.Filter[] filters)
Method Detail

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 20 2004:2337 UTC