title: Indexing and searching number field in mongodb
body: <p>I have created the following collection and text index:</p>
  
  <pre><code>db.test1.insert({"name":"kumar goyal","email":'rakesh.goyal@gmail.com',"phoneNo":9742140651});
  db.test1.ensureIndex({ "$**": "text" },{ name: "TextIndex" })
  </code></pre>
  
  <p>Partial search is working for name and email field e.g.  </p>
  
  <pre><code>db.test1.runCommand("text",{search:'rakesh'});
  </code></pre>
  
  <p>returns the record properly but its not working on the <code>phoneNo</code> field.  </p>
  
  <pre><code>db.test1.runCommand("text",{search:'9742'}); 
  </code></pre>
  
  <p>is not working.</p>
  
  <p>I guess text index is not working on number fields. Is there anyway to make it work in mongodb?</p>