Algolia search box: how to add filters within searchbox

I am using lagolia and have categorie field in the record added as facet and also location field

I want to create a search box something like

enter image description here

How can i do this

Hi @sant527

If you want to do a Geo search you can use our guide here: Geo Location | Managing Results | Guide | Algolia Documentation which has details about searching within co-ordinates or specific areas.

But if you want to filter by countries or other large areas, then you might find it is easier to filter by the location as you would with any other facet attribute. So for example, you would have an attribute called country in your records that stores the country and then return all those with the country selected by the user.

We have a guide to faceting and filtering here: