Wildcard Atlas Search
We put a large amount of data inside of Atlas Search but don't always know where a field actually exists. For example we might have a field that is indexed but is several objects deep, and without knowing the path notation to that field we can't find it.
For example instead of
path: products.christmas.decorations.tree.ornaments
query: globes
It would be great if we could do something like
path: products.*
query: globes
We’ve released the Wildcard Path feature in Atlas Search. You can read about it here: https://docs.atlas.mongodb.com/reference/atlas-search/path-construction/#wildcard-field-search
-
Justin commented
This is huge, ES supports it. Would need `products.*.label` so the wild card isn't just a postfix but can be in the middle. It would be totally fine to expect `.*.` or `.*` or `*.` to be the only forms of it, meaning `pro*cts.` is probably not necessary.
I also want to add that this will necessitate wildcard field mappings in the index also, ES supports this.