Class DisabledQueryCache
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.cache.query.DisabledQueryCache
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.apache.lucene.search.QueryCache
,QueryCache
,IndexComponent
public class DisabledQueryCache extends AbstractIndexComponent implements QueryCache
-
Field Summary
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
Constructor Summary
Constructors Constructor Description DisabledQueryCache(IndexSettings indexSettings)
-
Method Summary
-
Constructor Details
-
Method Details
-
close
public void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
doCache
public org.apache.lucene.search.Weight doCache(org.apache.lucene.search.Weight weight, org.apache.lucene.search.QueryCachingPolicy policy)- Specified by:
doCache
in interfaceorg.apache.lucene.search.QueryCache
-
clear
public void clear(java.lang.String reason)- Specified by:
clear
in interfaceQueryCache
-