title: mongodb search on single key of document
body: <p>I have mongodb document with data as following : </p>
  
  <pre><code>[{
    "name": "Robin singh",
    "developer": "java",
    "address": "Robin Singh,Mohali",
    "search_string": ["Robin", "Singh", "java"]
  }, {
    "name": "Rohan singh",
    "developer": "java",
   "address": "Rohan Singh,Mohali",
    "search_string": ["Rohan", "Singh", "java"]
  }]
  </code></pre>
  
  <p>I want to search document with developer <strong>java</strong> with name <strong>Rohan singh</strong> and I used this query:</p>
  
  <p><code>{"search_string":{"$all":["Robin","Singh","java"]}}</code></p>
  
  <p>but I am getting both results.</p>