Class AssertingBulkOutOfOrderScorer
A crazy Lucene.Net.Search.BulkScorer that wraps another Lucene.Net.Search.BulkScorer but shuffles the order of the collected documents.
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingBulkOutOfOrderScorer : BulkScorer
Constructors
AssertingBulkOutOfOrderScorer(Random, BulkScorer)
A crazy Lucene.Net.Search.BulkScorer that wraps another Lucene.Net.Search.BulkScorer but shuffles the order of the collected documents.
Declaration
public AssertingBulkOutOfOrderScorer(Random random, BulkScorer @in)
Parameters
Type | Name | Description |
---|---|---|
Random | random | |
BulkScorer | in |
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
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. |