Tim - You've likely been bitten by <https://issues.apache.org/jira/browse/SOLR-4286>, which is now fixed and will be in 4.1 coming up soon.
Erik On Jan 10, 2013, at 15:03 , Timothy Potter wrote: > Hi, > > Using Solr 4.0, I'm sending a partial document update request (as JSON) and > it's failing with this error: > > SEVERE: shard update error > http://URL:8984/solr/CORE/:org.apache.solr.common.SolrException: Invalid > Date in Date Math String:'[2012-08-01T00:00:00Z, 2012-08-02T00:00:00Z, > 2012-08-03T00:00:00Z]' > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:401) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:181) > at > org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:335) > at > org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:309) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > The JSON I'm sending looks like: > > [ > { > "id":"SOME_ID", > "date_field_name": > { > > "set":["2012-08-01T00:00:00Z","2012-08-02T00:00:00Z","2012-08-03T00:00:00Z"] > } > } > ] > > I'm thinking this *should* work. Am I missing something obvious? > > Cheers, > Tim