title: How to search for a term and match a boolean condition
body: <p>I've had good success getting results for searches using the below syntax, but I'm having trouble adding a boolean condition. </p>
  
  <pre><code>http://localhost:9200/index_name/type_name/_search?q=test
  </code></pre>
  
  <p>My documents look like: </p>
  
  <pre><code>{
      "isbn":"9780307414922",
      "name":"Dark of the Night",
      "adult":false
  }
  </code></pre>
  
  <p>Here's my best guess as to how to achieve what I'm trying to do.</p>
  
  <pre><code>{
      "query_string": {
          "default_field": "_all",
           "query": "test"
      },
      "from": 0,
      "size": 20,
      "terms": {
          "adult": true
      }
  }
  </code></pre>
  
  <p>However this results in "Parse Failure [No parser for element [query_string]]]; }]"</p>
  
  <p>I'm using elastic search 0.20.5.</p>
  
  <p><strong>How can I match documents containing a search term the way "?q=test" does and filter by the document's adult property?</strong></p>
  
  <p>Thanks in advance.</p>