Introduction | Yext Hitchhikers Platform
Your brand may include entities with multiple locations. For example healthcare providers and financial professionals may work at multiple physical locations within your brand. If you have the Listings product, you’ll likely have a unique entity per professional-location combination in your account.
However, using this Content setup allows your Search experience to surface multiple result cards per professional, which would appear duplicative. You may want to prevent showing duplicate result cards in your search results and only surface the nearest location in the results.
This guide walks you through how to set up your search experience to display only one result card when entities have multiple locations.
We’ll walk through two options:
- Use a Content filter: A more manual way in which you create a filter to allow the Search algorithm to index only one entity per professional.
- Use frontend logic: A more automated way in which the API response indicates the nearest location, and you can implement frontend logic to display only the nearest location. This requires you to do custom development on your front end, and you may need a developer to do so.
<% elem.innerText %>