I have a query that searches for proximity using setAroundLatLng and setAroundRadius.
It Works very well. Now there are records that I need to get back together, regardless of location. Type “sponsored or advertising records”.
That is, the filter for this “advertising” field has to have higher priority than the location filter.
new com.algolia.search.save.Query ("")
.setAroundLatLng (new AbstractQuery.LatLng (lat, long)
.setFilters (“advertising: yes”)
How to solve this?