Class Filter
Abstract base class for restricting which documents may be returned during searching.
Inheritance
System.Object
Filter
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class Filter : object
Methods
Name | Description |
---|---|
GetDocIdSet(AtomicReaderContext, IBits) | Creates a DocIdSet enumerating the documents that should be
permitted in search results. NOTE: Note: this method will be called once per segment in the index during searching. The returned DocIdSet must refer to document IDs for that segment, not for the top-level reader. |
NewAnonymous(Func<AtomicReaderContext, IBits, DocIdSet>) | Creates a new instance with the ability to specify the body of the GetDocIdSet(AtomicReaderContext, IBits)
method through the
LUCENENET specific |