Uses of Interface
org.apache.lucene.search.QueryCache
-
Packages that use QueryCache Package Description org.apache.lucene.search Code to search indices. -
-
Uses of QueryCache in org.apache.lucene.search
Classes in org.apache.lucene.search that implement QueryCache Modifier and Type Class Description class
LRUQueryCache
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.Methods in org.apache.lucene.search that return QueryCache Modifier and Type Method Description static QueryCache
IndexSearcher. getDefaultQueryCache()
Expert: Get the defaultQueryCache
ornull
if the cache is disabled.QueryCache
IndexSearcher. getQueryCache()
Return the query cache of thisIndexSearcher
.Methods in org.apache.lucene.search with parameters of type QueryCache Modifier and Type Method Description static void
IndexSearcher. setDefaultQueryCache(QueryCache defaultQueryCache)
Expert: set the defaultQueryCache
instance.void
IndexSearcher. setQueryCache(QueryCache queryCache)
Set theQueryCache
to use when scores are not needed.
-