public class IndexQueryCache extends AbstractIndexComponent implements QueryCache
IndicesQueryCache
.QueryCache.EntriesStats
deprecationLogger, 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, index
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
index
public IndexQueryCache(IndexSettings indexSettings, IndicesQueryCache indicesQueryCache)
public void close() throws ElasticsearchException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
ElasticsearchException
public 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