title: ElasticSearch searching with hyphen inside a word
body: <p>I would like to ask for a help. I want to search for a words inside the Title and Content. Here is the structure</p>
  <pre><code>'body' =&gt; array(
    'mappings' =&gt; array(
      'myindex' =&gt; array(
        '_source' =&gt; array(
          'enabled' =&gt; true
        ),
        'properties' =&gt; array(
          'Title' =&gt; array(
            'type'  =&gt; 'string',
            'fields'=&gt; array(
              'raw' =&gt; array(
                 'type'  =&gt; 'string',
                 'index' =&gt; 'not_analyzed'
                )
              )
            ),
            'Content' =&gt; array(
              'type'  =&gt; 'string'
            ),
            'Image' =&gt; array(
               type'      =&gt; 'string',
               'analyzer'  =&gt; 'standard'
           )
         )
       )
     )
   )
  </code></pre>
  <p>And the query string looks like this, where I want so search for &quot;15-g&quot; inside a text like &quot;15-game&quot;:</p>
  <pre><code>&quot;query&quot; : {
    &quot;query_string&quot;: {
      &quot;query&quot;: &quot;*15-g*&quot;,
      &quot;fields&quot;: [ &quot;Title&quot;, &quot;Content&quot; ]
    }
  }
  </code></pre>
  <p>Please accept my apologize if I duplicate the question but I cannot find out what's going on and why it does not return any results.</p>
  <p>I've already had a look at:</p>
  <blockquote>
  <p><a href="https://stackoverflow.com/questions/30917043/elasticsearch-searching-with-hyphens">ElasticSearch - Searching with hyphens</a></p>
  <p><a href="https://stackoverflow.com/questions/23637493/elasticsearch-searching-with-hyphens-in-name">ElasticSearch - Searching with hyphens in name</a></p>
  <p><a href="https://stackoverflow.com/questions/23637493/elasticsearch-searching-with-hyphens-in-name">ElasticSearch - Searching with hyphens in name</a></p>
  </blockquote>
  <p>But I can't make to work that with me.</p>
  <p>What is really interesting is that if I search for &quot;15 - g&quot; (15<strong>space</strong>-<strong>space</strong>g) it returns the result.</p>
  <p>Thank you so much in advance!</p>