Class DisabledQueryCache

java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.cache.query.DisabledQueryCache
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.lucene.search.QueryCache, QueryCache, IndexComponent

public class DisabledQueryCache extends AbstractIndexComponent implements QueryCache
  • Constructor Details

    • DisabledQueryCache

      public DisabledQueryCache(IndexSettings indexSettings)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface 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 interface org.apache.lucene.search.QueryCache
    • clear

      public void clear(String reason)
      Specified by:
      clear in interface QueryCache