com.arsdigita.search.lucene
Class TypeSpecificFilter
java.lang.Object
org.apache.lucene.search.Filter
com.arsdigita.search.lucene.TypeSpecificFilter
- Direct Known Subclasses:
- TypeSpecificFilter
- public class TypeSpecificFilter
- extends org.apache.lucene.search.Filter
TypeSpecificFilter
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/search/lucene/TypeSpecificFilter.java#3 $
- Author:
- Vadim Nasardinov (vadimn@redhat.com)
Constructor Summary |
TypeSpecificFilter(String typeSpecificInfo)
Creates a new lucene Filter that filters search results
based on whether the "type-specific field" matches the terms supplied in
the typeSpecificInfo argument. |
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 |
TypeSpecificFilter
public TypeSpecificFilter(String typeSpecificInfo)
- Creates a new lucene
Filter
that filters search results
based on whether the "type-specific field" matches the terms supplied in
the typeSpecificInfo
argument.
- Parameters:
typeSpecificInfo
- 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