org.compass.core.lucene.engine.transaction
Class BitSetByAliasFilter
java.lang.Object
org.apache.lucene.search.Filter
org.compass.core.lucene.engine.transaction.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 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()
getDeletesBySubIndex
public ArrayList getDeletesBySubIndex(String subIndex)
subIndexDeletesIt
public Iterator subIndexDeletesIt()
markDeleteBySubIndex
public void markDeleteBySubIndex(String subIndex,
int docNum,
int maxDoc)
bits
public BitSet bits(IndexReader reader)
throws IOException
- Specified by:
bits in class Filter
- Throws:
IOException
Copyright (c) 2004-2006 The Compass Project.