java.io.Closeable
, java.lang.AutoCloseable
, org.apache.lucene.search.QueryCache
, QueryCache
, IndexComponent
public class DisabledQueryCache extends AbstractIndexComponent implements QueryCache
QueryCache.EntriesStats
deprecationLogger, indexSettings, logger
Constructor | Description |
---|---|
DisabledQueryCache(IndexSettings indexSettings) |
Modifier and Type | Method | Description |
---|---|---|
void |
clear(java.lang.String reason) |
|
void |
close() |
|
org.apache.lucene.search.Weight |
doCache(org.apache.lucene.search.Weight weight,
org.apache.lucene.search.QueryCachingPolicy policy) |
getIndexSettings, index
index
public DisabledQueryCache(IndexSettings indexSettings)
public void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
public org.apache.lucene.search.Weight doCache(org.apache.lucene.search.Weight weight, org.apache.lucene.search.QueryCachingPolicy policy)
doCache
in interface org.apache.lucene.search.QueryCache
public void clear(java.lang.String reason)
clear
in interface QueryCache