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 e

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 signifi

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 w

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

2015-03-10 Thread Ryan, Michael F. (LNG-DAY)
lucene.apache.org Subject: Invalid Date String:'1992-07-10T17' Hi all, I am very new with Solr (and Lucene) and I use the last version of it. I do not understand why I obtain this: Exception in thread "main" org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrExcepti

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

2015-03-10 Thread Mirko Torrisi
1: Invalid Date String:'1992-07-10T17' at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:558) at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:214) at org.apache.solr.client.solrj.impl.Ht