How about [YYYY-MM-DDThh:mm:ssZ/DAY TO YYYY-MM-DDThh:mm:ssZ+1DAY/DAY]? See DateField.html in your Solr API documentation for more.
Andreas ________________________________ From: Jan Høydahl <jan....@cominvent.com> To: solr-user@lucene.apache.org Sent: Sun, March 6, 2011 1:40:59 PM Subject: Re: Omit hour-min-sec in search? > 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. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com