org.elasticsearch.index.cache.filter.soft
Class SoftFilterCache
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.cache.filter.support.AbstractDoubleConcurrentMapFilterCache
org.elasticsearch.index.cache.filter.soft.SoftFilterCache
- All Implemented Interfaces:
- CloseableComponent, FilterCache, IndexComponent
public class SoftFilterCache
- extends AbstractDoubleConcurrentMapFilterCache
A soft reference based filter cache that has soft keys on the IndexReader.
Method Summary |
protected java.util.concurrent.ConcurrentMap<org.apache.lucene.search.Filter,DocSet> |
buildCacheMap()
|
protected java.util.concurrent.ConcurrentMap<org.apache.lucene.search.Filter,DocSet> |
buildWeakCacheMap()
|
java.lang.String |
type()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoftFilterCache
@Inject
public SoftFilterCache(Index index,
@IndexSettings
Settings indexSettings)
buildCacheMap
protected java.util.concurrent.ConcurrentMap<org.apache.lucene.search.Filter,DocSet> buildCacheMap()
- Overrides:
buildCacheMap
in class AbstractDoubleConcurrentMapFilterCache
buildWeakCacheMap
protected java.util.concurrent.ConcurrentMap<org.apache.lucene.search.Filter,DocSet> buildWeakCacheMap()
- Overrides:
buildWeakCacheMap
in class AbstractDoubleConcurrentMapFilterCache
type
public java.lang.String type()