public class IndexQueryCache extends AbstractIndexComponent implements QueryCache
IndicesQueryCache.QueryCache.EntriesStatsdeprecationLogger, indexSettings, logger| Constructor and Description |
|---|
IndexQueryCache(IndexSettings indexSettings,
IndicesQueryCache indicesQueryCache) |
| Modifier and Type | Method and 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, indexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitindexpublic IndexQueryCache(IndexSettings indexSettings, IndicesQueryCache indicesQueryCache)
public void close()
throws ElasticsearchException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableElasticsearchExceptionpublic void clear(java.lang.String reason)
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