On Sun, Mar 6, 2011 at 4:40 PM, Jan Høydahl <jan....@cominvent.com> wrote: >> Not sure if there is a means of doing explicitly what you ask, but you >> could do a date range: >> >> +mydate:[YYYY-MM-DD 0:0:0 TO YYYY-MM-DD 11:59:59] > > This would not work. It has to be on the YYYY-MM-DDT00:00:00Z format. > > But I agree that it would be handy if the DateField could support a date-only > format mydate:[YYYY-MM-DD TO YYYY-MM-DD] > It could simply default to midnight UTC.
Since we've added FieldType.getRangeQuery, there's no reason this couldn't be supported. -Yonik http://lucidimagination.com