datefield:[X TO* Y] for X to Y-0.00000000...1

This would be backwards-compatible. {} are used for other things and lexing
is a dying art. Using a * causes mistakes to trigger wildcard syntaxes,
which will fail loudly.

On Tue, Sep 8, 2009 at 5:20 PM, Chris Hostetter <hossman_luc...@fucit.org>wrote:

>
> : I ran into that problem as well but the solution was provided to me by
> : this very list :) See
> : http://www.nabble.com/Range-queries-td24057317.html It's not the
> : cleanest solution, but as long as you know what you're doing it's not
> : that bad.
>
> Hmmm... yeah, that's a total hack.  one of these days we really need to
> fix the lucene query parser grammer so inclusive/exclusive can be
> different for hte upper/lower bounds...
>
>        datefield:[NOW/DAY TO NOW/DAY+1DAY}
>
>
> -Hoss
>
>


-- 
Lance Norskog
goks...@gmail.com

Reply via email to