|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.search.Filter
public abstract class Filter
Abstract base class providing a mechanism to use a subset of an index for restriction or permission of index search results.
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 Summary | |
|---|---|
Filter()
|
|
| Method Summary | |
|---|---|
java.util.BitSet |
bits(IndexReader reader)
Deprecated. Use getDocIdSet(IndexReader) instead. |
DocIdSet |
getDocIdSet(IndexReader reader)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filter()
| Method Detail |
|---|
public java.util.BitSet bits(IndexReader reader)
throws java.io.IOException
getDocIdSet(IndexReader) instead.
java.io.IOException
public DocIdSet getDocIdSet(IndexReader reader)
throws java.io.IOException
java.io.IOExceptionDocIdBitSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||