Hi,
I'm having a slight problem with date searching...
I have a document indexed with a date type using the value 
"2007-07-07T00:00:00Z".
However, when searching - the parser doesn't seem to like this.
How should I be able to search for it?

In the select query searching for "Date:2007-07-07T00:00:00Z" gets me
an http error 400 and some text:
        Problem accessing /solr/select. Reason:
                Invalid Date String:'2007-07-07T00'

Searching for "Date:[2007-07-07T00:00:00Z]" gets me a syntax error
because the parser is looking for a " TO " and another date.

Searching for "Date:[2007-07-07T00:00:00Z TO 2007-07-07T00:00:00Z+1DAY]"
gets me my document back.

So... is this just a solr bug, or a bug in my search syntax?
Or maybe something incorrect in my schema.xml?  Or solrconfig.xml?
Help please.  :)
        -Dan

-- 
Dan A. Dickey | Senior Software Engineer

Savvis
10900 Hampshire Ave. S., Bloomington, MN  55438
Office: 952.852.4803 | Fax: 952.852.4951
E-mail: dan.dic...@savvis.net

Reply via email to