Searching for value of any field in MongoDB without explicitly naming it
to do a text search on all fields, you first must create a text index on all fields. as the mongodb documentation indicates, “To allow for text search on all fields with string content, use the wildcard specifier ($**) to index all fields that contain string content.” if you are working inside the mongo shell … Read more