Thanks! I had to find this in the Lucene query parser syntax- it is not mentioned anywhere in the Solr wiki. You are right [a TO z} and {a TO z] are obvious improvements and solve the bucket-search problem the right way. But this collides with wild-card range searches.
What does this mean? {* TO *} On Fri, Sep 11, 2009 at 10:02 AM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : datefield:[X TO* Y] for X to Y-0.00000000...1 > : > : This would be backwards-compatible. {} are used for other things and lexing > > You lost me there ... {} aren't used for "other things" in the query > parser -- they're used for range queries that are exclusive of their end > points. datefield:{X TO Y} is already legal syntax, i'm just saying it > would be nice if datefield:[X TO Y} and datefield:{X TO Y] were legal as > well. > > > -Hoss > > -- Lance Norskog goks...@gmail.com