> I have a syntax problem in my query with the SOLR date
> format.
> This is what I type:
> 
> q=datecreation:2001-10-11
> 
> but SOLR returns me an error message:
> 
> Invalid Date String:'2001-10-11'
> 
> I tried different combinations but none of them works.
> Someone could tells me what is the correct syntax ?

Please see the green colored comments in example schema.xml:

"The format for this date field is of the form 1995-12-31T23:59:59Z, and
         is a more restricted form of the canonical representation of dateTime
         http://www.w3.org/TR/xmlschema-2/#dateTime    
         The trailing "Z" designates UTC time and is mandatory....."

Reply via email to