java.lang.Object
org.elasticsearch.index.cache.query.IndexQueryCache
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.search.QueryCache,QueryCache
The index-level query cache. This class mostly delegates to the node-level
query cache:
IndicesQueryCache.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
index
-
-
Constructor Details
-
IndexQueryCache
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
ElasticsearchException
-
clear
- Specified by:
clearin interfaceQueryCache
-
doCache
public org.apache.lucene.search.Weight doCache(org.apache.lucene.search.Weight weight, org.apache.lucene.search.QueryCachingPolicy policy) - Specified by:
doCachein interfaceorg.apache.lucene.search.QueryCache
-