public class AssertingBulkOutOfOrderScorer extends BulkScorer
BulkScorer that wraps another BulkScorer
but shuffles the order of the collected documents.| Constructor and Description |
|---|
AssertingBulkOutOfOrderScorer(Random random,
BulkScorer in) |
| Modifier and Type | Method and Description |
|---|---|
void |
score(Collector collector)
Scores and collects all matching documents.
|
boolean |
score(Collector collector,
int max)
Collects matching documents in a range.
|
String |
toString() |
public AssertingBulkOutOfOrderScorer(Random random, BulkScorer in)
public boolean score(Collector collector, int max) throws IOException
BulkScorerscore in class BulkScorercollector - The collector to which all matching documents are passed.max - Score up to, but not including, this docIOExceptionpublic void score(Collector collector) throws IOException
BulkScorerscore in class BulkScorercollector - The collector to which all matching documents are passed.IOExceptionCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.