Re: Invalid Date String:'1992-07-10T17'

2015-03-12 Thread Shawn Heisey
On 3/10/2015 1:39 PM, Ryan, Michael F. (LNG-DAY) wrote: You'll need to wrap the date in quotes, since it contains a colon: String a = speechDate:\1992-07-10T17:33:18Z\; You could also escape the colons with a backslash. Here's another way to do it that doesn't require quotes or manual

Re: Invalid Date String:'1992-07-10T17'

2015-03-11 Thread Mirko Torrisi
Thanks very much for each of your replies. These resolved my problem and teach me something important. I have just discovered that I have another problem but I guess that I have to open another discussion. Cheers, Mirko On 10/03/15 20:30, Chris Hostetter wrote: : is a syntactically

Re: Invalid Date String:'1992-07-10T17'

2015-03-10 Thread Chris Hostetter
: is a syntactically significant character to the query parser, so it's getting confused by it in the text of your query. you're seeing the same problem as if you tried to search for foo:bar in the yak field using q=yak:foo:bar you either need to backslash escape the : characters, or wrap the

RE: Invalid Date String:'1992-07-10T17'

2015-03-10 Thread Ryan, Michael F. (LNG-DAY)
You'll need to wrap the date in quotes, since it contains a colon: String a = speechDate:\1992-07-10T17:33:18Z\; -Michael -Original Message- From: Mirko Torrisi [mailto:mirko.torr...@ucdconnect.ie] Sent: Tuesday, March 10, 2015 3:34 PM To: solr-user@lucene.apache.org Subject: Invalid