title: Terms Include elastic search numeric values
body: <p>The question I have is if there is a way to use a <code>terms include</code> on a <code>numeric field</code> in an <code>elasticsearch aggregation</code>. </p>
  
  <p>I am using a generic query for multiple fields in elastic search and this is fine as most of my fields are <code>string values</code> and I can specify the unique field with an <code>include</code>. However one of my fields is a <code>numeric value</code> and is throwing this error:</p>
  
  <pre><code>"cannot support regular expression style include/exclude settings as 
  they can only be applied to string fields"
  </code></pre>
  
  <p>So my question is, is there a an <strong>equivalent to string matching include</strong> for numeric values? I have tried using a <code>range set</code> from say 9 to 9 to match but it is not returning anything and unfortunately is keyed by the specified range and not the value of the <code>specified field</code> which is what I desire. Any input would be appreciated!</p>
  
  <p>Thanks!</p>