org.compass.core.lucene.engine.transaction.readcommitted
Class BitSetByAliasFilter
java.lang.Object
org.apache.lucene.search.Filter
org.compass.core.lucene.engine.transaction.readcommitted.BitSetByAliasFilter
- All Implemented Interfaces:
- Serializable
public class BitSetByAliasFilter
- extends Filter
A Lucene filter which stored deletion (per alias), and filters them when
execution lucene operations.
- Author:
- kimchy
- See Also:
- Serialized Form
| Methods inherited from class org.apache.lucene.search.Filter |
bits |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitSetByAliasFilter
public BitSetByAliasFilter()
clear
public void clear()
hasDeletes
public boolean hasDeletes()
markDelete
public void markDelete(IndexReader indexReader,
int docNum,
int maxDoc)
getDocIdSet
public DocIdSet getDocIdSet(IndexReader reader)
throws IOException
- Overrides:
getDocIdSet in class Filter
- Throws:
IOException
Copyright (c) 2004-2008 The Compass Project.