title: IndexedDB: How to use multiple indexes along with 'multiEntry: true'
body: <p>If I got these data in an indexedDB:</p>
  
  <pre><code>{
    name:"Ray",
    age:20,
    tags:["apple","banana","beer"]
  }
  
  {
    name:"Scott",
    age:25,
    tags:["beer"]
  }
  
  {
    name:"Marc",
    age:28,
    tags:["mongo","jenkins"]
  }
  </code></pre>
  
  <p>Then I want to find persons who have tag 'beer' and ordered the result by age, what should I do?</p>
  
  <p>According to this article <a href="http://www.raymondcamden.com/2012/8/10/Searching-for-array-elements-in-IndexedDB" rel="nofollow">http://www.raymondcamden.com/2012/8/10/Searching-for-array-elements-in-IndexedDB</a>, 'multiEntry: true' should be applied to query array field, but it'll show an error if I use it with multiple indexes. So what query can achieve the goal? Thanks.</p>