title: Search full and partial text value using wildcard from elasticsearch
body: <p>I have below simple table with title and code column from elasticsearch like below</p>
  
  <pre><code>{ title: 'test1', code: 'ZjS3d3k8z',... },
  { title: 'test2 with more words', code: 'AjS3d2k1z',... }
  </code></pre>
  
  <p>I am trying to filter title and code by using wildcard as shown below,</p>
  
  <pre><code>{
    "sort": [
      {
        "creation_date": {
          "order": "desc"
        }
      },
      "_score"
    ],
    "query": {
      "bool": {
        "must": [
          {
            "match": {
              "account_id": 100
            }
          }
        ],
        "should": [
          {
            "wildcard": {
              "code": "?test2 with"
            }
          },
          {
            "wildcard": {
              "title": "*test2 with*"
            }
          }
        ],
        "minimum_number_should_match": 1
      }
    }
  }
  </code></pre>
  
  <p>The above query works with expected results /fails with no results on below case</p>
  
  <pre><code>&gt; 'test1' &lt;---- works(return expected result) when i try to search single word
  &gt; 'test2' &lt;---- works(return expected result) when i try to search single word
  &gt; 'test2 with'&lt;---- fails(return empty result) when i try to search more than one word with space'
  &gt; 'test2 with more words' &lt;---- fails(return empty result) when i try to search full title
  </code></pre>
  
  <p>When i try search code like below, It always return empty result!!!</p>
  
  <pre><code>"should": [
          {
            "wildcard": {
              "code": "?ZjS3d3k8z"
            }
          },
          {
            "wildcard": {
              "title": "*ZjS3d3k8z*"
            }
          }
        ]
  </code></pre>
  
  <p>I want to search title/code with partial/full value from millions of records using elasticsearch. Kindly advise.</p>