title: How do I index "or" in MongoDB?
body: <p>Let's say I have many documents similar to this...</p>
  
  <pre><code>{
      name: 'alex',
      city: 'LA',
      about: 'designer',
  }
  
  db.people.find({'name':'alex', $or: [{'city':'LA'}, {'about':'designer'}] });
  </code></pre>
  
  <p>If I want to query that, how do I index it? Do I need 2 indexes every time I have an "or"?</p>