title: Search wild card phrases in elasticsearch
body: <p>I have a working wild card search but it dont accept whitespace. I already tried <code>match_phrase</code> but it only search for exact words. This is the search result that I want</p>
  
  <p><strong>Projects:</strong> "Project One Sample", Project Two Sample" <br/>
  <strong>input:</strong> "ect One"<br/>
  <strong>result:</strong>"Project One Sample"</p>
  
  <p><br/></p>
  
  <p>Here's my working code</p>
  
  <pre><code>GET &lt;index_name&gt;/_search
  {
    "query": {
      "bool": {
        "must": [
          {
            "query_string": {
              "query": "*roj*",
              "fields":["field_1", "field_2"]
            }
          }
        ]
      }
    }
  } 
  </code></pre>
  
  <p><br/>
  <strong>UPDATE</strong><br/>
  I just realize that one my fields for query string is timestamp which causing error. Now my problem is <code>query_string</code> only search per prefix, it doesnt include the next prefix in searching.<br/><br/>
  ie <br/>
  <strong>Projects:</strong> "Project One Sample", Project Two Sample" <br/>
  <strong>input:</strong> "ect One"<br/>
  <strong>result:</strong>"Project One Sample", Project Two Sample" <br/></p>