com.arsdigita.search.lucene
Class ObjectTypeFilter

java.lang.Object
  extended byorg.apache.lucene.search.Filter
      extended bycom.arsdigita.search.lucene.ObjectTypeFilter
Direct Known Subclasses:
ObjectTypeFilter

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

ObjectTypeFilter

Version:
$Id: //core-platform/dev/src/com/arsdigita/search/lucene/ObjectTypeFilter.java#3 $
Author:
Richard Su (richard.su@alum.mit.edu)

Constructor Summary
ObjectTypeFilter(String objectType)
          Creates a new ObjectTypeFilter
 
Method Summary
 BitSet bits(org.apache.lucene.index.IndexReader reader)
          Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTypeFilter

public ObjectTypeFilter(String objectType)
Creates a new ObjectTypeFilter

Parameters:
objectType - the object type to filter on
Method Detail

bits

public final BitSet bits(org.apache.lucene.index.IndexReader reader)
                  throws IOException
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.

Throws:
IOException


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