282930313233343536
public class BitSetPurgeFilter extends Filter { @Override public DocIdSet getDocIdSet(IndexReader reader) throws IOException { BitsetDocSet bitsetDocSet = new BitsetDocSet(); bitsetDocSet.addDoc(0); return bitsetDocSet; }