Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » search » [javadoc | source]
org.apache.lucene.search
public class: CachingWrapperFilter [javadoc | source]
java.lang.Object
   org.apache.lucene.search.Filter
      org.apache.lucene.search.CachingWrapperFilter

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    QueryFilter

Wraps another filter's result and caches it. The purpose is to allow filters to simply filter, and then wrap with this class to add caching.
Field Summary
protected  Filter filter     
protected transient  Map cache    A transient Filter cache. To cache Filters even when using RemoteSearchable use RemoteCachingWrapperFilter instead. 
Constructor:
 public CachingWrapperFilter(Filter filter) 
    Parameters:
    filter - Filter to cache results of
Method from org.apache.lucene.search.CachingWrapperFilter Summary:
bits,   equals,   hashCode,   toString
Methods from org.apache.lucene.search.Filter:
bits
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.CachingWrapperFilter Detail:
 public BitSet bits(IndexReader reader) throws IOException 
 public boolean equals(Object o) 
 public int hashCode() 
 public String toString()