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:
a new MatchScorer.Builder. Set the parameters for scorer
on the Builder, and use the Builder#build() method
to create a concrete instance of MatchScorer
[[["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-03-05 UTC."],[[["MatchScorer assigns document scores based on the frequency of terms in TextFields and HTMLFields."],["Adding a MatchScorer to SortOptions sorts documents in descending order by score, resulting in positive scores."],["To sort in ascending order, a SortExpression must be added that utilizes the SCORE_FIELD_NAME with the direction set to ASCENDING, which will produce negative scores."],["MatchScorer provides a static `newBuilder()` method to create and configure a MatchScorer.Builder."],["MatchScorer class inherits from java.lang.Object, inheriting functions such as clone, equals, and toString, among other functions."]]],[]]