com.arsdigita.search.lucene
Class UnionFilter

java.lang.Object
  extended byorg.apache.lucene.search.Filter
      extended bycom.arsdigita.search.lucene.UnionFilter

public class UnionFilter
extends org.apache.lucene.search.Filter

A filter whose bitset corresponds to the logical OR of the bitsets generated by the wrapped filters. Thus it selects the union of results selected by each wrapped filter.


Constructor Summary
UnionFilter(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

UnionFilter

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

bits

public BitSet bits(org.apache.lucene.index.IndexReader reader)
            throws IOException
Returns:
bitset for the OR of all wrapped filters
Throws:
IOException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC