Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Inherits Lucene.Net.Search.Filter.
Public Types | |
enum | Logic { NONE = -1, OR = 0, AND = 1, ANDNOT = 2, XOR = 3 } |
Public Member Functions | |
ChainedFilter (Filter[] chain) | |
ChainedFilter (Filter[] chain, Logic[] logicArray) | |
ChainedFilter (Filter[] chain, Logic logic) | |
see cref="Filter#getDocIdSet"/> | |
override DocIdSet | GetDocIdSet (IndexReader reader) |
| |
override String | ToString () |
Public Attributes | |
const Logic | DEFAULT = Logic.OR |
summary>Logical operation when none is declared. Defaults to OR | |
Protected Member Functions | |
DocIdSet | FinalResult (OpenBitSetDISI result, int maxDocs) |
/summary>
Definition at line 45 of file ChainedFilter.cs.
Enumerator | |
---|---|
NONE | |
OR | |
AND | |
ANDNOT | |
XOR |
Definition at line 47 of file ChainedFilter.cs.
Lucene.Net.Analysis.ChainedFilter.ChainedFilter | ( | Filter[] | chain | ) |
summary>ctor
param name="chain">The chain of filters
param name="logicArray">Logical operations to apply between filters
Definition at line 67 of file ChainedFilter.cs.
summary>ctor
param name="chain">The chain of filters
param name="logic">Logical operation to apply to ALL filters
Definition at line 75 of file ChainedFilter.cs.
see cref="Filter#getDocIdSet"/>
Definition at line 84 of file ChainedFilter.cs.
|
protected |
Definition at line 157 of file ChainedFilter.cs.
|
virtual |
Creates a DocIdSet enumerating the documents that should be permitted in search results. NOTE: null can be returned if no documents are accepted by this Filter.
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.
/summary>
reader | A IndexReader instance opened on the index currently searched on. Note, it is likely that the provided reader does not represent the whole underlying index i.e. if the index has more than one segment the given reader only represents a single segment. |
Implements Lucene.Net.Search.Filter.
Definition at line 91 of file ChainedFilter.cs.
override String Lucene.Net.Analysis.ChainedFilter.ToString | ( | ) |
Definition at line 198 of file ChainedFilter.cs.
const Logic Lucene.Net.Analysis.ChainedFilter.DEFAULT = Logic.OR |
summary>Logical operation when none is declared. Defaults to OR
Definition at line 57 of file ChainedFilter.cs.