public abstract class Filter extends Object implements Serializable
Note: In Lucene 3.0 bits(IndexReader)
will be removed
and getDocIdSet(IndexReader)
will be defined as abstract.
All implementing classes must therefore implement getDocIdSet(IndexReader)
in order to work with Lucene 3.0.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
BitSet |
bits(IndexReader reader)
Deprecated.
Use
getDocIdSet(IndexReader) instead. |
DocIdSet |
getDocIdSet(IndexReader reader) |
public BitSet bits(IndexReader reader) throws IOException
getDocIdSet(IndexReader)
instead.IOException
public DocIdSet getDocIdSet(IndexReader reader) throws IOException
IOException
DocIdBitSet
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.