public class AssertingBulkScorer extends BulkScorer
Modifier and Type | Method and Description |
---|---|
BulkScorer |
getIn() |
void |
score(Collector collector)
Scores and collects all matching documents.
|
boolean |
score(Collector collector,
int max)
Collects matching documents in a range.
|
static boolean |
shouldWrap(BulkScorer inScorer) |
String |
toString() |
static BulkScorer |
wrap(Random random,
BulkScorer other) |
public static BulkScorer wrap(Random random, BulkScorer other)
public static boolean shouldWrap(BulkScorer inScorer)
public BulkScorer getIn()
public void score(Collector collector) throws IOException
BulkScorer
score
in class BulkScorer
collector
- The collector to which all matching documents are passed.IOException
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
Copyright © 2000–2024 The Apache Software Foundation. All rights reserved.