My work engages SolrJ, with which I send documents off to Solr 4 which
properly store, as viewed in the admin panel, as this example:
2013-02-04T02:11:39.995Z

When I retrieve a document with that date, I use the SolrDocument
returned as a Map<String,Object> in which the date now looks like
this:
Sun Feb 03 18:11:39 PST 2013

I am thinking that I am missing something in the SolrJ configuration,
though it could be in how I structure the query; for now, here is the
simplistic way I setup SolrJ:

HttpSolrServer server = new HttpSolrServer(solrURL);
server.setParser(new XMLResponseParser())

Is there something I am missing to retain dates as Solr stores them?

Many thanks in advance
Jack

Reply via email to