Class CachingWrapperFilter
Wraps another Filter's result and caches it. The purpose is to allow filters to simply filter, and then wrap with this class to add caching.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class CachingWrapperFilter : Filter
Constructors
Name | Description |
---|---|
CachingWrapperFilter(Filter) | Wraps another filter's result and caches it. |
Fields
Name | Description |
---|---|
EMPTY_DOCIDSET | An empty DocIdSet instance |
Properties
Name | Description |
---|---|
Filter | Gets the contained filter. |
Methods
Name | Description |
---|---|
CacheImpl(DocIdSetIterator, AtomicReader) | Default cache implementation: uses WAH8DocIdSet. |
DocIdSetToCache(DocIdSet, AtomicReader) | Provide the DocIdSet to be cached, using the DocIdSet provided by the wrapped Filter. This implementation returns the given DocIdSet,
if IsCacheable returns Note: this method returns EMPTY_DOCIDSET if the given |
Equals(Object) | |
GetDocIdSet(AtomicReaderContext, IBits) | |
GetHashCode() | |
GetSizeInBytes() | Returns total byte size used by cached filters. |
ToString() |