Hello!
I have a client who is having issues with showing the correct search results. When a city and state have the same name (e.g. New York, the city, and the state of New York ), the NLP Filters only register the city and not the region (which is more important to the client). So when “New York” is searched, only the “New York, NY” results are returned, not all results within the state of New York.
It seems that “New York” isn’t being read as a state based on debugging in the Search Log.
Here’s what I have tried so far:
-
I tried rejecting the New York → City: New York NLP filter and that shows no results for the Locations vertical.
-
A synonym is in place to read “New York” as “NY”, which I assume would trigger the NLP Filter for
address.region
as the state. This synonym approach works (i.e. triggers the NLP filter onaddress.region
) for all other states within the Experience. -
A NLP Filter order was instituted to try and prioritize
address.region
overaddress.city
and that didn’t help as the city always overrides the state. -
In addition, when address.city was changed to a Phrase Match, several results were shown for the query “New York” that were not locations within the state of New York (e.g. locations in NJ, CT, etc.). This is known and expected behavior based on how NLP Filters work for locations. However, this is not an acceptable solution for the client, as they primarily use their experience for state search.
Any help here would be greatly appreciated!