com.arsdigita.search.lucene
Class NegationFilter

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

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

A filter whose bitset is the logical NOT of the bitset generated by the wrapped filter.


Constructor Summary
NegationFilter(org.apache.lucene.search.Filter 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
 

Constructor Detail

NegationFilter

public NegationFilter(org.apache.lucene.search.Filter filter)
Method Detail

bits

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


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