This exact ask is a feature we are working on currently (updates to come soon!), but one option is you could use Embedded Documents (query, index definition) with type as “autocomplete”. I believe items is embedded and under it items.name is type:autocomplete
I got below error
PlanExecutor error during aggregation :: caused by :: Remote error from mongot :: caused by :: autocomplete index field definition not present at path materialNo
Hi Elie,
In compass’s aggregrations tab, I do not have the option to choose an operator with “embeddedDocument”.
There is $search $searchMeta…
I am using mongo db 5.0. Or you are using different version?