title: Elasticsearch match prefix, no matches found
body: <p>Following an elastic search tutorial on some basic queries:</p>
  
  <pre><code>#Create the index with no mapping
  curl -XPUT 127.0.0.1:9200/startswith/
  
  #add some data
  curl -XPOST 127.0.0.1:9200/startswith/test/ -d '{"title":"river dog"}'
  curl -XPOST 127.0.0.1:9200/startswith/test/ -d '{"title":"data"}'
  curl -XPOST 127.0.0.1:9200/startswith/test/ -d '{"title":"drive"}'
  curl -XPOST 127.0.0.1:9200/startswith/test/ -d '{"title":"dzone"}'
  
  #try to perform a "starts-with" style query...
  curl -XGET 127.0.0.1:9200/startswith/test/_search?pretty -d '{
          "query": {
          "match_phrase_prefix": {
             "title": {
               "query": "d",
               "max_expansions": 5
             }
           }
         }
       }' | grep title
  </code></pre>
  
  <p>but I am receiving the message <code>no matches found: 127.0.0.1:9200/startswith/test/_search?pretty</code>. If I visit <code>http://127.0.0.1:9200/startswith/test/_search</code> or curl it, the results are there. What am I missing?</p>