Hi William,
Thanks for making a post about your issue.
A common reason for having null results from the vector search operation can be due to not having the vector search index definition set up correctly.
Can you please verify that your vector search index definition, created using MongoDB Atlas looks as follow:
{
"fields": [
{
"numDimensions": 1024,
"path": "embedding",
"similarity": "cosine",
"type": "vector"
}
]
}
Also please do check the name of the vector search index definition on MongoDB Atlas is: vector_index
Thanks,
Richmond
1 Like