SortExpressionChecker (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- com.google.appengine.api.search.checkers.SortExpressionChecker
-
public class SortExpressionChecker
extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods
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.
|
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SortExpressionChecker
public SortExpressionChecker()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["`SortExpressionChecker` is a class that validates the values of a `SortExpression`."],["It provides a constructor `SortExpressionChecker()` for creating instances of the checker."],["The `checkValid(SortSpec spec)` method is used to verify if a given `SortSpec` is valid, primarily ensuring that the document scoring limit is not excessively high."],["The method will return the validated `SortSpec` if valid."],["If a given spec is invalid, it will throw an `IllegalArgumentException`."]]],[]]