title: elasticsearch phrase searching
body: <p>I have a document in elastic search that looks like...</p>
  
  <pre><code>{
      "items":
      [
          "ONE BLAH BLAH BLAH TWO BLAH BLAH BLAH THREE",
          "FOUR BLAH BLAH BLAH FIVE BLAH BLAH BLAH SIX"
      ]
  }
  </code></pre>
  
  <p>I want to be able to search for this document with a phrase query like...</p>
  
  <pre><code>{
      "match_phrase" : {
          "items" : "ONE TWO THREE"
      }
  }
  </code></pre>
  
  <p>So that it will match regardless of the words in-between. The words also need to be in that order. I realise that this could be achieved via the <code>slop</code> property, however when I was experimenting with that it seemed to wrap if the slop was more than the words in-between what I was searching on and as this is an indeterminate amount of words I don't think slop would be suitable. Also I need to only search per item in the array, so...</p>
  
  <pre><code>{
      "match_phrase" : {
          "items" : "ONE TWO SIX"
      }
  }
  </code></pre>
  
  <p>Wont match this document as <code>SIX</code> is in a different item in the array to <code>ONE</code> and <code>TWO</code>.</p>
  
  <p>So my question is, is this possible through elasticsearch or will I have to make an array of objects and use a nested query to search on them?</p>