title: How do I make the QueryParser in Lucene handle numeric ranges?
body: <pre><code>new QueryParser(.... ).parse (somequery);
  </code></pre>
  
  <p>it works only for string indexed fields.
  Say i have a field called count where count is a integer field (while indexing the field I considered the data type)</p>
  
  <pre><code>new QueryParser(....).parse("count:[1 TO 10]");
  </code></pre>
  
  <p>The above one is not works. Instead If i used <strong>"NumericRangeQuery.newIntRange"</strong> which is working. But, i need the above one only...</p>