title: Elasticsearch partial matching of a number field
body: <p>I'm trying to partially match a number field. In the query below, I'd like id (which is defined as a long) to match any document which starts with 419. (so 4191 should match, as should 419534 but not 123419)</p>
  
  <pre><code>{
      "size": 20,
      "from": 0,
      "sort": [{
          "customerName": "asc"
      }],
      "query": {
          "bool": {
              "must": [{
                  "bool": {
                      "should": [{
                          "term": {
                              "id": 419
                          }
                      }]
                  }
              }]
          }
      }
  }
  </code></pre>
  
  <p>Anyone got a neat solution to use in my query?</p>