Uses of Interface
org.apache.lucene.search.QueryCache
-
Uses of QueryCache in org.apache.lucene.search
Modifier and TypeClassDescriptionclass
AQueryCache
that evicts queries using a LRU (least-recently-used) eviction policy in order to remain under a given maximum size and number of bytes used.Modifier and TypeMethodDescriptionstatic QueryCache
IndexSearcher.getDefaultQueryCache()
Expert: Get the defaultQueryCache
ornull
if the cache is disabled.IndexSearcher.getQueryCache()
Return the query cache of thisIndexSearcher
.Modifier and TypeMethodDescriptionstatic void
IndexSearcher.setDefaultQueryCache
(QueryCache defaultQueryCache) Expert: set the defaultQueryCache
instance.void
IndexSearcher.setQueryCache
(QueryCache queryCache) Set theQueryCache
to use when scores are not needed.