Updates in Search | Yext Hitchhikers Platform

What You’ll Learn

In this section, you will learn:

  • An overview of the new Search features from the Fall ‘23 Release

light bulb
New Release Features
For a full list of features, visit the Fall ‘23 Release Notes .

Sign up for our upcoming webinar for a roundup of the new features!

Matched Query Tokens Sort Criteria

When sorting by relevance, results may have very small differences causing their token count, and therefore position on the results page, to be higher.

For results that are similarly relevant, the Match Query Tokens sorting criteria counts the number of matching tokens from the query in the result to determine the relevancy score. In many cases, this would force a “tie” in token counts for similar results which then allows the following sorting criteria (e.g., field or random) to determine the results order.

For example, if a user searches for a professional named “John Smith” then the result “John Smith” will have a relevance score of 2 since the tokens “John” and “Smith” are both in the query. On the other hand, other professionals like “John Doe” and “Jane Smith” will each have relevance scores of 1. If there is another criteria set up in the config, such as random, then those professionals with a score of 1 will be sorted at random.

We have added a new MATCH_QUERY_TOKENS option to the Search configuration, which will be used alongside the relevance sorting criteria. You can add the following code to the SortBy object to set this up:

"sortBys": [
        {
          "relevanceAlgorithm": "MATCH_QUERY_TOKENS",
          "type": "RELEVANCE"
        },

Note that, currently, this can only be added via JSON.

How This Impacts You

With the new Match Query Tokens option, you have more control over the sorting of your Search experience. The ability to force similar results to have the same token count can allow you to dictate a more accurate and relevant sorting order for your results, especially in cases where sorting by a subsequent criteria is important to your users.

Feature Availability

This feature is automatically available to all Search customers, so you can start taking advantage of it today.

Additional Resources

unit Quiz
+20 points
Daily Quiz Streak Daily Quiz Streak: 0
Quiz Accuracy Streak Quiz Accuracy Streak: 0
    Error Success Question 1 of 2

    True or False: The Matched Query Tokens criteria can be configured in the UI

    Error Success Question 2 of 2

    If Match Query Tokens is in use, which result would have the highest relevance score for the query: help me reset my password

    Soon you'll be your brand's hero! 🎓

    You've already completed this quiz, so you can't earn more points.You completed this quiz in 1 attempt and earned 0 points! Feel free to review your answers and move on when you're ready.
1st attempt
0 incorrect
Feedback