Atlas $search how to return only matching sub-documents

Potentially can use a Materialized view for this? Tutorial here

Stored Source isn’t a bad idea either… but it’s kind of for a different use case? (e.g. looking for more performant queries)

1 Like