Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
class |
LRUQueryCache
A
QueryCache 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 Type | Method and Description |
---|---|
static QueryCache |
IndexSearcher.getDefaultQueryCache()
Expert: Get the default
QueryCache or null if the cache is disabled. |
QueryCache |
IndexSearcher.getQueryCache()
Return the query cache of this
IndexSearcher . |
Modifier and Type | Method and Description |
---|---|
static void |
IndexSearcher.setDefaultQueryCache(QueryCache defaultQueryCache)
Expert: set the default
QueryCache instance. |
void |
IndexSearcher.setQueryCache(QueryCache queryCache)
Set the
QueryCache to use when scores are not needed. |
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.