QueryCache into IndexSearcher instead
and let it make decisions.@Deprecated public class CachedFilterBuilder extends Object implements FilterBuilder
For Queries/Filters to be cached and reused the object must implement hashcode and equals methods correctly so that duplicate queries/filters can be detected in the cache.
The CoreParser.maxNumCachedFilters property can be used to control the size of the LRU Cache established during the construction of CoreParser instances.
| Constructor and Description |
|---|
CachedFilterBuilder(QueryBuilderFactory queryFactory,
FilterBuilderFactory filterFactory,
int cacheSize)
Deprecated.
|
public CachedFilterBuilder(QueryBuilderFactory queryFactory, FilterBuilderFactory filterFactory, int cacheSize)
public Filter getFilter(Element e) throws ParserException
getFilter in interface FilterBuilderParserExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.