๐๏ธ ๐ Lecture notes
Vector Search in MongoDB
๐๏ธ ๐ Create a vector search index
To retrieve documents from MongoDB using vector search, you must configure a vector search index on the collection into which you ingested your data. The recommended way to do this is via the MongoDB drivers.
๐๏ธ ๐ Perform vector search queries
Now let's run some vector search queries against the data present in MongoDB.
๐๏ธ ๐ฆน Combine pre-filtering with vector search
Pre-filtering is a technique to optimize vector search by only considering documents that match certain criteria during vector search.