Introduction to Entity Relationships in Search | Yext Hitchhikers Platform

What You’ll Learn

In this section, you will learn:

  • The purpose of dot notation and how to utilize it
  • The difference between direct and multihop entity relationships

Linked entities are a powerful tool in Search as their data can be used to return specific results or display information that may exist across multiple entities that are related to each other.

In the case of Turtlehead Tacos, a restaurant location may be limited to only showing menu items with multi-option select or text-type fields (and any data changes would need to be made manually within the field). However, relating or linking Menu Item entities to Location entities allows customers to see other relevant information about dietary restrictions or ingredients of specific menu items to help them choose a location that best serves their needs.

Dot Notation

When referencing data from linked entities in Search, you will use dot notation. Dot notation (.) allows data (in this case, entity fields) to be accessed from base and linked entities to then be utilized on both the frontend and backend of a Search experience. It should be formatted like this:




For example, if we want to return the name of menu items that are sold at a specific Turtlehead Tacos location the dot notation would be formatted something like this:

Types of Entity Relationships

We will cover how to set up and utilize entity relationships in Search more in the following units, but there are two types of entity relationships that you can use:

  1. Direct Entity Relationships - This allows you to return data across entities that are related to each other.

  2. Multihop Entity Relationships - This allows you to return data across entities that are not directly related, but have an intermediary relationship.

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

    When would you use dot notation (‘.’) in Search?

    Way to go, you passed! 🏁

    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