Vector Search $filter on "location" with geospatial index

Hello @Lucas_Lind, apologies for the delayed response here.

Currently it’s not possible to filter on geospatial data in the new $vectorSearch aggregation stage.

But you can use geoSpatial filters in Atlas Search in a filter along with the knnBeta operator. There is a “filter” example on the page here and you could use geoSpatial filters with this solution.

1 Like