Can I return job results outside of the US (using the External Location field)?

I’m having a bit of trouble producing Answers results for 1 job entity whose External Location is in Edinburgh, Scotland. I confirmed that the External Location was correct in the Knowledge Graph, but when I search “jobs in edinburgh” Answers returns no results, even though the entity card is appearing in the full list (“jobs in new york” does return correct results).

Screen Shot 2020-11-30 at 4.45.10 PM

I’m wondering if the job card isn’t pulling the field correctly because I just updated the KG location when I went to confirm (and it doesn’t match what’s in the KG now)
Screen Shot 2020-11-30 at 4.45.20 PM

Hi Hannah,

If you want to return entities in a geo-based search that are outside of the US, you need to list all countries that should be supported in the Search Configuration in the “countryRestrictions” object like this:

countryRestrictions: ["US","GB", "FR"]

This helps to make sure that we are only querying for countries that you want supported. For example, if someone queries for “stores in Paris” but the brand only has locations in “Paris, TX” and none in “Paris, France” we wouldn’t want to return no results because our geosearch picked the wrong Paris!

You can read more about how this works and how to add it in the JSON editor as well as the Search Config UI in this unit: Additional Search Configuration Settings | Hitchhikers

1 Like