org.compass.core.lucene.engine.transaction.readcommitted
Class BitSetByAliasFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by 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

Nested Class Summary
static class BitSetByAliasFilter.AllSetBitSet
           
 
Constructor Summary
BitSetByAliasFilter(boolean concurrent)
           
 
Method Summary
 void clear()
           
 DocIdSet getDocIdSet(IndexReader reader)
           
 boolean hasDeletes()
           
 void markDelete(IndexReader indexReader, int docNum, int maxDoc)
           
 
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
 

Constructor Detail

BitSetByAliasFilter

public BitSetByAliasFilter(boolean concurrent)
Method Detail

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-2009 The Compass Project.