Class MultiCollector
Inheritance
System.Object
MultiCollector
Assembly: Lucene.Net.dll
Syntax
public class MultiCollector : object, ICollector
Properties
|
Improve this Doc
View Source
AcceptsDocsOutOfOrder
Declaration
public virtual bool AcceptsDocsOutOfOrder { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Collect(Int32)
Declaration
public virtual void Collect(int doc)
Parameters
Type |
Name |
Description |
System.Int32 |
doc |
|
|
Improve this Doc
View Source
SetNextReader(AtomicReaderContext)
Declaration
public virtual void SetNextReader(AtomicReaderContext context)
Parameters
|
Improve this Doc
View Source
SetScorer(Scorer)
Declaration
public virtual void SetScorer(Scorer scorer)
Parameters
Type |
Name |
Description |
Scorer |
scorer |
|
|
Improve this Doc
View Source
Wrap(ICollector[])
Wraps a list of ICollectors with a MultiCollector. This
method works as follows:
- Filters out the
null
collectors, so they are not used
during search time. - If the input contains 1 real collector (i.e. non-
null
),
it is returned. - Otherwise the method returns a MultiCollector which wraps the
non-
null
ones.
Declaration
public static ICollector Wrap(params ICollector[] collectors)
Parameters
Returns
Implements