If Peter's suggestion doesn't work, please post the results of adding &debugQuery=on to your query. The date math stuff is sensitive to spaces, for instance and it's impossible to tell whether you're making a simple error like that without seeing what you're actually doing.
Best Erick On Wed, Apr 18, 2012 at 6:46 PM, Peter Markey <sudoma...@gmail.com> wrote: > you could use a filter query like: fq=datefield:[NOW/DAY-1DAY TO > NOW/DAY+1DAY] > > *replace datefield with your field that contains the time info > > On Wed, Apr 18, 2012 at 11:11 AM, vybe3142 <vybe3...@gmail.com> wrote: > >> A query search on a particular date: >> >> returns 1valid result (as expected). >> >> How can I alter the granularity of the search for example , to all matches >> on the particular DAY? >> >> Reading through various docs, I attempt to append "/DAY" but this doesn't >> seem to work (in fact I get 0 results back when querying). >> >> What am I neglecting? >> Thanks >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Date-granularity-tp3920890p3920890.html >> Sent from the Solr - User mailing list archive at Nabble.com. >>