com.arsdigita.search.lucene
Class ObjectTypeFilter
java.lang.Object
org.apache.lucene.search.Filter
com.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)
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 |
ObjectTypeFilter
public ObjectTypeFilter(String objectType)
- Creates a new ObjectTypeFilter
- Parameters:
objectType
- the object type to filter on
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 20 2004:2337 UTC