Returns the cached version of the filter. Allows the caller to pass up a small filter but this will keep a persistent version around and allow the caching filter to do its job.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual Filter GetFilter(
	Filter filter
)
Visual Basic
Public Overridable Function GetFilter ( _
	filter As Filter _
) As Filter
Visual C++
public:
virtual Filter^ GetFilter(
	Filter^ filter
)

Parameters

filter
Type: Lucene.Net.Search..::..Filter
The input filter

Return Value

The cached version of the filter

See Also