public class EarlyTerminatingCollectorException extends RuntimeException
EarlyTerminatingCollector
when the maximum to abort
the scoring / collection process early, when the specified maximum number
of documents were collected.Constructor and Description |
---|
EarlyTerminatingCollectorException(int numberCollected,
int numberScanned) |
Modifier and Type | Method and Description |
---|---|
int |
getNumberCollected()
The number of documents collected that resulted in early termination
|
int |
getNumberScanned()
The total number of documents in the index that were "scanned" by
the index when collecting the
getNumberCollected() documents
that triggered this exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EarlyTerminatingCollectorException(int numberCollected, int numberScanned)
public int getNumberScanned()
getNumberCollected()
documents
that triggered this exception.
This number represents the sum of:
public int getNumberCollected()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.