public class IndexQueryCache extends AbstractIndexComponent implements QueryCache
IndicesQueryCache
.QueryCache.EntriesStats
deprecationLogger, index, indexSettings, logger
Constructor and Description |
---|
IndexQueryCache(Index index,
IndexSettingsService indexSettingsService,
IndicesQueryCache indicesQueryCache) |
Modifier and Type | Method and Description |
---|---|
void |
clear(String reason) |
void |
close() |
org.apache.lucene.search.Weight |
doCache(org.apache.lucene.search.Weight weight,
org.apache.lucene.search.QueryCachingPolicy policy) |
index, indexSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
index
@Inject public IndexQueryCache(Index index, IndexSettingsService indexSettingsService, IndicesQueryCache indicesQueryCache)
public void close() throws ElasticsearchException
close
in interface Closeable
close
in interface AutoCloseable
ElasticsearchException
public void clear(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
Copyright © 2009–2016. All rights reserved.