List of usage examples for org.apache.lucene.index LeafReader.CoreClosedListener interface-usage
From source file org.elassandra.index.search.TokenRangesBitsetFilterCache.java
/**
* This is a per-index cache for {@link BitDocIdSet} based filters and is unbounded by size or time.
* <p>
* Use this cache with care, only components that require that a filter is to be materialized as a {@link BitDocIdSet}
* and require that it should always be around should use this cache, otherwise the
* {@link org.elasticsearch.index.cache.query.QueryCache} should be used instead.
From source file org.elasticsearch.index.cache.bitset.BitsetFilterCache.java
/**
* This is a cache for {@link BitDocIdSet} based filters and is unbounded by size or time.
* <p>
* Use this cache with care, only components that require that a filter is to be materialized as a {@link BitDocIdSet}
* and require that it should always be around should use this cache, otherwise the
* {@link org.elasticsearch.index.cache.query.QueryCache} should be used instead.
From source file org.elasticsearch.index.percolator.PercolatorQueryCache.java
public final class PercolatorQueryCache extends AbstractIndexComponent implements Closeable, LeafReader.CoreClosedListener, PercolateQuery.QueryRegistry { public final static Setting<Boolean> INDEX_MAP_UNMAPPED_FIELDS_AS_STRING_SETTING = Setting .boolSetting("index.percolator.map_unmapped_fields_as_string", false, Setting.Property.IndexScope);