Abstract decorator class for a DocIdSet implementation that provides on-demand filtering/validation mechanism on a given DocIdSet.

Technically, this same functionality could be achieved with ChainedFilter (under contrib/misc), however the benefit of this class is it never materializes the full bitset for the filter. Instead, the {@link #match} method is invoked on-demand, per docID visited during searching. If you know few docIDs will be visited, and the logic behind {@link #match} is relatively costly, this may be a better way to filter than ChainedFilter.

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

Syntax

C#
public abstract class FilteredDocIdSet : DocIdSet
Visual Basic
Public MustInherit Class FilteredDocIdSet _
	Inherits DocIdSet
Visual C++
public ref class FilteredDocIdSet abstract : public DocIdSet

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search..::..DocIdSet
    Lucene.Net.Search..::..FilteredDocIdSet

See Also