I have monogo collection with column name server_name an dos_name like below.
i have added index on server_name
db.createIndex({"server_name":"text"})
I want to search the record in with server name "Apple Mac pro" and "Cisco USB Mini"
I have tried below query.
db.collection_name.find({"$text": {"$search": '"Apple Mac Pro" "Cisco UCS Mini"'}});
but it giving blank result.
I have tried different different approaches like and multiple text search but want work.
thank you for your help.
