org.apache.lucene.search

Class CachingWrapperFilter

public class CachingWrapperFilter extends Filter

Wraps another filters result and caches it. The caching behavior is like {@link 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.
Constructor Summary
CachingWrapperFilter(Filter filter)
Method Summary
BitSetbits(IndexReader reader)
StringtoString()

Constructor Detail

CachingWrapperFilter

public CachingWrapperFilter(Filter filter)

Parameters: filter Filter to cache results of

Method Detail

bits

public BitSet bits(IndexReader reader)

toString

public String toString()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.