Class AssertingBulkScorer
Wraps a Lucene.Net.Search.Scorer with additional checks.
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingBulkScorer : BulkScorer
Properties
In
Wraps a Lucene.Net.Search.Scorer with additional checks.
Declaration
public virtual BulkScorer In { get; }
Property Value
| Type | Description |
|---|---|
| BulkScorer |
Methods
Score(ICollector)
Scores and collects all matching documents.
Declaration
public override void Score(ICollector collector)
Parameters
| Type | Name | Description |
|---|---|---|
| ICollector | collector | The collector to which all matching documents are passed. |
Overrides
Lucene.Net.Search.BulkScorer.Score(Lucene.Net.Search.ICollector)
Score(ICollector, int)
Collects matching documents in a range.
Declaration
public override bool Score(ICollector collector, int max)
Parameters
| Type | Name | Description |
|---|---|---|
| ICollector | collector | The collector to which all matching documents are passed. |
| int | max | Score up to, but not including, this doc |
Returns
| Type | Description |
|---|---|
| bool |
|
Overrides
ShouldWrap(BulkScorer)
Wraps a Lucene.Net.Search.Scorer with additional checks.
Declaration
public static bool ShouldWrap(BulkScorer inScorer)
Parameters
| Type | Name | Description |
|---|---|---|
| BulkScorer | inScorer |
Returns
| Type | Description |
|---|---|
| bool |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Overrides
Wrap(Random, BulkScorer)
Wraps a Lucene.Net.Search.Scorer with additional checks.
Declaration
public static BulkScorer Wrap(Random random, BulkScorer other)
Parameters
| Type | Name | Description |
|---|---|---|
| Random | random | |
| BulkScorer | other |
Returns
| Type | Description |
|---|---|
| BulkScorer |