Hi Team,
Is there a way to hide 2 locations entities in all searches except 1) when the exact name of the entities are searched and 2) for a list of specific keywords. I was thinking this could be done using query rules in some way but cannot figure out exactly how to hide for all searches with exception
Thanks!
Hi Melissa,
The algorithm will surface those entities if you have textSearch
on name
(or phraseMatch
if you want an exact match on all location names) for #1 and keywords
for #2. If there are other searchable fields that would surface these locations, then you’d have to hide them.
To suppress them for all other scenarios, you can bury the entities with query rules. Note that for relevant searches, these entities will still surface, just at the bottom of the results list.
If there are specific searches you want to hide them for, you can also use the add filter action. You can either use a saved filter with all the entities you want to show (excluding the 2 locations mentioned) OR you can filter on a specific field (there’s a field where only these 2 locations to hide are ‘No’ or a different category than other locations). This will hide the 2 locations for those searches. Note you would not want to use this action with blanket criteria because it would filter out those 2 locations from the two scenarios above you want to show them for.