[20110601 TO ] is the way to do it, because these are string
fields being checked with string comparisons. If your numbers are
variable length you will need to pad them.
Or look at NumericField and NumericRangeQuery. Faster and better.
--
Ian.
On Tue, Jun 21, 2011 at 6:34 PM, Hiller,
Because when I use [ 20110601 TO * ] lucene does not return my results greater
than 20110601 but when I use
[20110601 TO ], it works fine. Why is this? How do I get everything
larger than 20110601. I have another
Case of sequence numbers and want to get everything above a certain numbe