title: Creating an ElasticSearch query to search all fields and use partial matching at the same time
body: <p>Separately, I have partial search working and I can search all fields. But I'm unable use partial matching on a search that maps all fields.</p>
  
  <p>This returns my name when I use partial matching:</p>
  
  <pre><code>GET /_search?pretty=true
  { 
      "query": {
          "match": {
              "FullName": "andon"
          }
      }
  }
  </code></pre>
  
  <p>This search runs on all fields, but doesn't do partial matching (0 hits):</p>
  
  <pre><code>GET /_search?pretty=true
  {
      "query": {
          "match": {
             "_all": "andon"
          }
      }
  }
  </code></pre>
  
  <p>What do I need to do to combine partial matching with a search on all fields &amp; types?  I have many fields and types so I'm hoping to avoid having to specify them all manually.  </p>
  
  <p>If it makes any difference, I'm inserting my data from a River that connects to SQL.</p>
  
  <p><strong>EDIT:</strong>  I now have the _all field in my mapping.  It appears to make no difference.</p>
  
  <pre><code>PUT /contact/
  {
      "settings" : {
          "index" : {
              "analysis" : {
                  "analyzer" : {
                      "my_ngram_analyzer" : {
                          "tokenizer" : "my_ngram_tokenizer"
                      }
                  },
                  "tokenizer" : {
                      "my_ngram_tokenizer" : {
                          "type" : "nGram",
                          "min_gram" : "1",
                          "max_gram" : "10"
                      }
                  }
              }
          }
      },
      "mappings": {
          "_default_": {
              "_all" : {"enabled" : true},
              "properties" : {
                  "Description":{"type":"string","store":"yes", "index_analyzer": "my_ngram_analyzer"},
                  "OfficePhone":{"type":"string","store":"yes"},
                  "Email":{"type":"string","store":"yes", "index_analyzer": "my_ngram_analyzer"},
                  "FullName":{"type":"string","store":"yes", "index_analyzer": "my_ngram_analyzer"},
                  "ReportsTo":{"type":"string","store":"yes"},
                  "Department":{"type":"string","store":"yes", "index_analyzer": "my_ngram_analyzer"},
                  "Title":{"type":"string","store":"yes", "index_analyzer": "my_ngram_analyzer"}
              }
          }
      }
  }
  </code></pre>