title: How can I use for date range queries for Apache Lucene?
body: <p>I have some documents have field of lastUpdateDateTime like: 
  "2016-11-02 17:36:55","2016-07-02 17:36:55","2016-01-02 17:36:55",  </p>
  
  <p>I defined index like following</p>
  
  <pre><code>   r.add(doc.lastUpdateDateTime, {
         field: 'lastUpdateDateTime',
          store: 'yes'
      });
  }
  </code></pre>
  
  <p>I used Lucene date range query like...q:lastUpdateDateTime:[20160101 TO 20170101], but I did not get expected results, please advice thanks</p>