public class SortExpressionChecker
extends java.lang.Object
SortExpression.| Constructor and Description |
|---|
SortExpressionChecker() |
| Modifier and Type | Method and Description |
|---|---|
static SortSpec |
checkValid(SortSpec spec)
Checks the
ScorerSpec is valid, specifically checking the limit
on number of documents to score is not too large. |
public static SortSpec checkValid(SortSpec spec)
ScorerSpec is valid, specifically checking the limit
on number of documents to score is not too large.spec - the ScorerSpec to checkjava.lang.IllegalArgumentException - if the spec is invalid