Normally you will need to filer by dates... you can do it in two ways... http://....fq=date_field[NOW-7DAY TO NOW] http://...fq=date_field[2007-01-01T21:21:21 TO 2009-01-01T13:13:13]
I strongly recomend you to use /DAY in the first example. The search will be faster as it is omitting hour-min-sec. http://....fq=date_field[NOW/DAY-7DAY TO NOW/DAY] Is this what you where asking for? solruser wrote: > > Can you reply with example of solr request? > > Amit > > On Mar 3, 2009, at 11:08 PM, dabboo <ag...@sapient.com> wrote: > >> >> Hi, >> >> Date search is not happening in solr. I am giving the field name and >> date >> value as the request but it is not returning any value. >> >> Please suggest. >> >> Thanks, >> Amit Garg >> -- >> View this message in context: >> http://www.nabble.com/Search-with-Date-field-tp22324779p22324779.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > > -- View this message in context: http://www.nabble.com/Search-with-Date-field-tp22324779p22326871.html Sent from the Solr - User mailing list archive at Nabble.com.