title: Mongoose Query to search a document by name when name has any of a set o words no matter order
body: <p>Imaging I have the following documents with these values:</p>
  <pre><code>{id: d,name: &quot;pasta and chess&quot;},{id: w,name: &quot;pasta&quot;},{id: 12,name: &quot;chess&quot;},{id: r,name: &quot;chess and pasta&quot;}
  </code></pre>
  <p>What could be a mongodb / mongoose query to get those documents containing both words: &quot;pasta&quot; and &quot;chess&quot; in its name field?, the order is not important, so I would expect the following result from that query:</p>
  <pre><code>[{id: d,name: &quot;pasta and chess&quot;},{id: r,name: &quot;chess and pasta&quot;}]
  </code></pre>