anl.aida.client.search
Class PathFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by anl.aida.client.search.PathFilter
All Implemented Interfaces:
java.io.Serializable

public class PathFilter
extends org.apache.lucene.search.Filter

Lucene filter that filters based on document ids passed in on the constructor.

See Also:
Serialized Form

Field Summary
private  java.util.List<anl.aida.core.DocumentID> ids
           
 
Constructor Summary
PathFilter(java.util.List<anl.aida.core.DocumentID> ids)
           
 
Method Summary
 org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
           
 
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
 

Field Detail

ids

private java.util.List<anl.aida.core.DocumentID> ids
Constructor Detail

PathFilter

public PathFilter(java.util.List<anl.aida.core.DocumentID> ids)
Method Detail

getDocIdSet

public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
                                              throws java.io.IOException
Overrides:
getDocIdSet in class org.apache.lucene.search.Filter
Throws:
java.io.IOException