org.apache.lucene.search
Class CachingWrapperFilter
- Serializable
public class CachingWrapperFilter
Wraps another filter's result and caches it. The caching
behavior is like
QueryFilter. The purpose is to allow
filters to simply filter, and then wrap with this class to add
caching, keeping the two concerns decoupled yet composable.
BitSet | bits(IndexReader reader)- Returns a BitSet with true for documents which should be permitted in
search results, and false for those that should not.
|
boolean | equals(Object o)
|
int | hashCode()
|
String | toString()
|
CachingWrapperFilter
public CachingWrapperFilter(Filter filter)
filter - Filter to cache results of
bits
public BitSet bits(IndexReader reader)
throws IOExceptionReturns a BitSet with true for documents which should be permitted in
search results, and false for those that should not.
- bits in interface Filter
equals
public boolean equals(Object o)
hashCode
public int hashCode()
toString
public String toString()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.