Called before successive calls to {@link #Collect(int)}. Implementations
that need the score of the current document (passed-in to
{@link #Collect(int)}), should save the passed-in Scorer and call
scorer.score() when needed.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public abstract void SetScorer( Scorer scorer ) |
Visual Basic |
---|
Public MustOverride Sub SetScorer ( _ scorer As Scorer _ ) |
Visual C++ |
---|
public: virtual void SetScorer( Scorer^ scorer ) abstract |
Parameters
- scorer
- Type: Lucene.Net.Search..::..Scorer
[Missing <param name="scorer"/> documentation for "M:Lucene.Net.Search.Collector.SetScorer(Lucene.Net.Search.Scorer)"]