Uses of Interface
org.apache.lucene.search.QueryCachingPolicy
-
Packages that use QueryCachingPolicy Package Description org.apache.lucene.search Code to search indices. -
-
Uses of QueryCachingPolicy in org.apache.lucene.search
Classes in org.apache.lucene.search that implement QueryCachingPolicy Modifier and Type Class Description class
UsageTrackingQueryCachingPolicy
AQueryCachingPolicy
that tracks usage statistics of recently-used filters in order to decide on which filters are worth caching.Fields in org.apache.lucene.search declared as QueryCachingPolicy Modifier and Type Field Description private static QueryCachingPolicy
IndexSearcher. DEFAULT_CACHING_POLICY
private QueryCachingPolicy
LRUQueryCache.CachingWrapperWeight. policy
private QueryCachingPolicy
IndexSearcher. queryCachingPolicy
Methods in org.apache.lucene.search that return QueryCachingPolicy Modifier and Type Method Description static QueryCachingPolicy
IndexSearcher. getDefaultQueryCachingPolicy()
Expert: Get the defaultQueryCachingPolicy
.QueryCachingPolicy
IndexSearcher. getQueryCachingPolicy()
Return the query cache of thisIndexSearcher
.Methods in org.apache.lucene.search with parameters of type QueryCachingPolicy Modifier and Type Method Description Weight
LRUQueryCache. doCache(Weight weight, QueryCachingPolicy policy)
Weight
QueryCache. doCache(Weight weight, QueryCachingPolicy policy)
Return a wrapper around the providedweight
that will cache matching docs per-segment accordingly to the givenpolicy
.static void
IndexSearcher. setDefaultQueryCachingPolicy(QueryCachingPolicy defaultQueryCachingPolicy)
Expert: set the defaultQueryCachingPolicy
instance.void
IndexSearcher. setQueryCachingPolicy(QueryCachingPolicy queryCachingPolicy)
Set theQueryCachingPolicy
to use for query caching.Constructors in org.apache.lucene.search with parameters of type QueryCachingPolicy Constructor Description CachingWrapperWeight(Weight in, QueryCachingPolicy policy)
-