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
BulkScorer
score
in class BulkScorer
collector
- The collector to which all matching documents are passed.max
- Score up to, but not including, this docIOException
public void score(Collector collector) throws IOException
BulkScorer
score
in class BulkScorer
collector
- The collector to which all matching documents are passed.IOException
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.