public class IndexCache extends AbstractIndexComponent implements java.io.Closeable
deprecationLogger, indexSettings, logger
Constructor and Description |
---|
IndexCache(IndexSettings indexSettings,
QueryCache queryCache,
BitsetFilterCache bitsetFilterCache,
PercolatorQueryCache percolatorQueryCache) |
Modifier and Type | Method and Description |
---|---|
BitsetFilterCache |
bitsetFilterCache()
Return the
BitsetFilterCache for this index. |
void |
clear(java.lang.String reason) |
void |
close() |
PercolatorQueryCache |
getPercolatorQueryCache() |
QueryCache |
query() |
getIndexSettings, index
public IndexCache(IndexSettings indexSettings, QueryCache queryCache, BitsetFilterCache bitsetFilterCache, PercolatorQueryCache percolatorQueryCache)
public QueryCache query()
public BitsetFilterCache bitsetFilterCache()
BitsetFilterCache
for this index.public PercolatorQueryCache getPercolatorQueryCache()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public void clear(java.lang.String reason)