then, this will sort the documents in descending score order. The scores
will be positive. If you want to sort in ascending order, then use the
following code:
[[["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 2023-04-26 UTC."],[[["The `MatchScorer` class assigns a document score based on term frequency."],["It can be used within `SortOptions` to sort documents by score in descending order, which will result in positive scores."],["To sort documents in ascending order, the `SortExpression` needs to be passed with the `ASCENDING` direction, and the scores will be negative."],["The class has an alias in `google.appengine.api.search.MatchScorer`."],["It can raise `TypeError` or `ValueError` exceptions if the parameters are invalid."]]],[]]