Can I have a query "near" a city override the city NLP filter?

Hey Hannah,

You’re right in that the NLP filter for “Flora” is excluding results in other cities. I noticed you’re using an NLP filter on address.city. If you want to show results near a city, not just those that exactly match the city, you’ll want to remove this NLP filter (read more in the Answers: Healthcare Best Practices post under Exact City, State, and Zip Searches). Changing the location radius would not override the NLP filter on address.city in this case.

If this is a one-off exception and the client would like to keep exact city matches except for this one case, you could use a query rule. However, the ADD FILTER query rule you used adds an additional filter on top of the existing results. This will only narrow down the original set of results and not add any new results. To add a new result that would not appear otherwise, you would want to BOOST the entity. Check out the Query Rules module to learn more.

Hope this helps!