Adding Radius to "Near me" NLP Filter

Hey HH Community,

Is it possible to specify a maximum radius for the “Near me” NLP Filter?

Thanks,
Asaki

Hi @Asaki_Okuyama ,

Take a look at the documentation around the locationRadius api param.

Hope that helps! Let us know if any more questions!

Best,
Melissa

Hey Melissa

Thank you for the link!

I was reading through the documentation and could you confirm setting the maximum radius for the near me filter can be only done using the API endpoint not on the Code Editor / Search JSON Editor?

Thanks,
Asaki

Hey Asaki,

That’s correct, setting a radius can be done using the API endpoint directly. You could also do this on the frontend in React using the setLocationRadius hook defined here.

While you can’t select a maximum radius in the Search config, you can set a minimum radius.

You can do that by following the instructions here.