title: how to apply facet on date field where result should provide number of records for given date
body: <p>I have a schema in which we are recording device registration time in field <code>devRegDt_dt</code>.</p>
  
  <p>Our service is storing device registration time in this field, and it gets stored in  <code>2015-09-24T14:05:08Z</code> format.  </p>
  
  <p>We would like to create query which should provide result as:
  "2015-09-24" : 5 </p>
  
  <p>i.e. <code>"DATE"</code> : <code>&lt;occurances&gt;</code></p>
  
  <p>Please note that we are ignoring time in this result and only considering date.</p>
  
  <p>Just in case if this is duplicate, please help with related question.</p>
  
  <p>Thanks.</p>