Atlas Search Autocomplete on an array of object

Hi @Alexander_Wieland and @V_C1 - Welcome to the community.

At this point in time as per the autocomplete documentation:

  • You can’t use the autocomplete type to index fields whose value is an array of strings.
  • You can use the autocomplete type to index string fields inside an array of documents indexed as the embeddedDocuments type

Alex, I believe the second dot point is related to your question. V_C1, if this is also the case for you too (array of documents), then please refer to the docs link. If not, I would create a new topic and advise your use case details including sample documents.

Regards,
Jason

2 Likes