Location Radius -- Wider Millage Net

Hi @roser

It’s exciting that we can now filter by distance with 1.4. I was wondering if the Location Radius minimum is still 25 miles for address, zip code searches? How was 25 miles determined?

My client has a lot of zip code searches and wants locations near to return regardless of the 25 mi distance or at least a wider one. Is that doable?

Thanks!
Alyssa

Hi!

It is now possible to adjust the location radius in the Search Configuration File. You can do so by adding minLocationRadius and setting it to your desired radius under the corresponding Vertical.

Note that just as the Distance filters, this is set in Meters.

For example, if you want to make the Location Radius 400 miles for your locations you would do so like so:

"Locations": {
  "entityTypes": [
    "location"
  ],
  "minLocationRadius": 643738.0,
  "name": "Locations",
  "searchableFields": {
    "address": {
      "directAnswer": true
    },
    "builtin.entityType": {
      "nlpFilter": true
    },
    "builtin.location": {
      "nlpFilter": true
    },
    "hours": {
      "directAnswer": true
    },
    "mainPhone": {
      "directAnswer": true
    }
  },
  "sortBys": [],
  "source": "KNOWLEDGE_MANAGER"
} },

Let me know if you have any questions!

2 Likes