Hi, I am fairly new to mongo and iam using a full text search (beta) which is recently launched by mongodb.
I am creating an aggregation and running a search for list of paths.
My question is, is there any way to loop through all the paths automatically without defining each path (consisting of arrays and array of objects) ?
If so how can I achieve that ?
Can you provide an example document and the query/outcome you are trying to match?
You can include multiple fields in an Atlas search index definition and use either static mapping (if all fields are known in advance) or dynamic mapping (index all fields in a collection as needed). You can also specify fields to search using the path parameter: Atlas Search Path Construction.