MongoDB MongoOperations :: Query to search for the keyword value inside the sub-document without using the fieldName in the query Criteria
I have Java Spring boot application with MongoDB database. I’m trying to search for the keyword inside the collection with sub-document using the MongoOperations Query Criteria, without specifying the fieldname in the sub-document.
Basically, I want to do full sub-document search for the value across all fields and return the List of document objects.