Apache Lucene.Net 2.4.0 Class Library API

RemoteCachingWrapperFilter Class

Provides caching of {@link Filter}s themselves on the remote end of an RMI connection. The cache is keyed on Filter's hashCode(), so if it sees the same filter twice it will reuse the original version.

NOTE: This does NOT cache the Filter bits, but rather the Filter itself. Thus, this works hand-in-hand with {@link CachingWrapperFilter} to keep both file Filter cache and the Filter bits on the remote end, close to the searcher.

Usage:

To cache a result you must do something like RemoteCachingWrapperFilter f = new RemoteCachingWrapperFilter(new CachingWrapperFilter(myFilter));

For a list of all members of this type, see RemoteCachingWrapperFilter Members.

System.Object
   Lucene.Net.Search.Filter
      Lucene.Net.Search.RemoteCachingWrapperFilter

public class RemoteCachingWrapperFilter : Filter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Search

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

RemoteCachingWrapperFilter Members | Lucene.Net.Search Namespace