Aperol Spritz Summer With MongoDB Geospatial Queries & Vector Search

Aperol Spritz Summer With MongoDB Geospatial Queries & Vector Search

In this tutorial, find the closest Aperol spritz to you with MongoDB geospatial queries and Atlas Vector Search.

Read more on Developer Center

Author: Anaiya Raisinghani

1 Like

Thanks for this article, it is super helpful. Is there a way to return documents that are sorted by the score and distance without doing that in the application layer?

Thank you so much for your question! Yes, you definitely do not need to include those two in the aggregation pipelines if you don’t want to, you can do this after the fact using MongoDB Atlas’s UI or MongoDB Compass, or in another code block. Here is more information on aggregation pipelines if you would like a resource: MongoDB Aggregation Pipeline | MongoDB

Please let me know if this helps to answer your question and thank you for reading the tutorial.