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.
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class CachingWrapperFilter : Filter
Constructors
Name | Description |
---|---|
Caching |
New deletes are ignored by default, which gives higher cache hit rate on reopened readers. Most of the time this is safe, because the filter will be AND'd with a Query that fully enforces deletions. If instead you need this filter to always enforce deletions, pass either RECACHE or DYNAMIC. |
Caching |
Expert: by default, the cached filter will be shared across reopened segments that only had changes to their deletions. |
Fields
Methods
Name | Description |
---|---|
Doc |
Provide the DocIdSet to be cached, using the DocIdSet provided by the wrapped Filter. This implementation returns the given DocIdSet. |
Equals(Object) | |
Get |
|
Get |
|
To |