Sounds like custom heuristics is needed and used with something like DateFormat. Nothing that automagically recognized dates in various formats exists in Solr as far as I know. I bet someone, somewhere has written and outsourced something like this, though.
http://www.google.com/search?hl=en&q=smart+date+parser (the first hit is nice and simple low-tech thing that I'd try first) Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Jon Baer <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Wednesday, August 20, 2008 5:21:33 PM > Subject: Recognizing date inputs > > Hi, > > (Im sure this was asked before but found nothing on markmail) ... > Wondering if Solr can handle this on its own or if something needs to > be written ... would like to handle recognizing date inputs to a > search box for news articles, items such as "August 1","August 1st" or > "08/01/2008" ... its a bit different than synonym like handling in > that I have to transform the query to a specific field. Any thoughts? > > Thanks. > > - Jon