title: Scope Elasticsearch Results to Specific Ids
body: <p>I have a question about the Elasticsearch DSL. </p>
  
  <p>I would like to do a full text search, but scope the searchable records to a specific array of database ids. </p>
  
  <p>In SQL world, it would be the functional equivalent of <code>WHERE id IN(1, 2, 3, 4)</code>.</p>
  
  <p>I've been researching, but I find the Elasticsearch query DSL documentation a little cryptic and devoid of useful examples. Can anyone point me in the right direction?</p>