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, indexpublic 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.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void clear(java.lang.String reason)