: the field like "2009-05-01T12:45:32Z". However when I'm searching the user
: don't always give an exact date. for instance they give "2008-05-01" to get

whatever date your users give you, you'll need to format it in the full 
ISO format in order to query on it (ie: 2008-05-01 into 
2008-05-01T00:00:00Z)

but once you do that, you can append date math syntax to query for a range 
some range arround your value

yourField:[2008-05-01T00:00:00Z/DAY TO 
2008-05-01T00:00:00Z/DAY+1DAY-1MILLISECOND]

http://wiki.apache.org/solr/SolrQuerySyntax



-Hoss

Reply via email to