Is it possible to use metadata filtering to restrict the results to be within the radius of a geographical point (latitude and longitude)?

For instance, lets say that my index consists of a list of Hotels and I want to find the best match for my semantic vector BUT only within a certain radius of my city. Each hotell might have multiple locations.

It seems like a Cartesian Distance function would be among the distance functions available in any vector database. That would be your cutoff value.

It also seems like any vector database would let you set a distance limit for the query results.

I would not use metadata here. I would use the main data directly.

I will now go check the docs to see if it’s all true for Pinecone in particular. I am interested in geo coordinate nearest neighbors too! Nobody seems to talk about using vectors except LLM vectors, but of course other kinds of vectors exist as we know! 2D and 3D are super common space vectors in earth maps and particle computations.

There’s a feature request to add this now, if you could all go and upvote the request it will help get it higher on the team’s radar and hopefully get them to implement it.