I was recently working on mongo atlas free tier (M0 cluster) to create a search index for a POC. I needed to include synonyms in the search index to make it easier to search for similar words. But when I try to create the atlas index I encounter the error below.
Could you clarify on the query used to verify if there were any invalid docs?
Additionally, could you provide the source synonym collection (redacting any personal or sensitive information) a long with a few sample documents that are being searched on so that I can try reproduce this behaviour?
Glad to hear you found the document causing the error.
Thanks for the feedback above. I agree that it would be helpful if some further information (e.g. _id value could be returned in the error) to help locate the document(s) causing errors. I’ll raise this with the team internally as feedback.