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
SortSpec is valid, specifically checking the limit
on number of documents to score is not too large. |
public static SortSpec checkValid(SortSpec spec)
SortSpec
is valid, specifically checking the limit
on number of documents to score is not too large.spec
- the SortSpec
to checkjava.lang.IllegalArgumentException
- if the spec is invalid