RE: Environment Timezone considered When using SolrJ

2013-08-12 Thread Chris Hostetter
You haven't mentioned what language your update client code is written in ... so i'm not sure what classes "DateTime" and "Convert" are and what their default behavior is regarding timezones, but w/o that info it's still pretty clear where your two mistakes are... : string strStartDate = "26/

RE: Environment Timezone considered When using SolrJ

2013-08-12 Thread sowja...@pointcross.com
r 4) your searching code excuting the same query in SolrJ 5) the output of your SolrJ search code ...the problem may become obvious, but if not is not, then sending all of those things in a reply will help us point out where any discrepencies might be. -Hoss _ If you reply to

Re: Environment Timezone considered When using SolrJ

2013-08-09 Thread Shawn Heisey
On 8/9/2013 12:20 PM, Chris Hostetter wrote: : If you index a Java date object instead of the text format, it will be : valid in the timezone at the client, and SolrJ will do timezone : translation before sending to Solr. Solr will index/store the date in UTC. this is missleading -- SolrJ does

Re: Environment Timezone considered When using SolrJ

2013-08-09 Thread Chris Hostetter
: If you index a Java date object instead of the text format, it will be : valid in the timezone at the client, and SolrJ will do timezone : translation before sending to Solr. Solr will index/store the date in UTC. this is missleading -- SolrJ doesn't do any sort of "timezone translation" ...

Re: Environment Timezone considered When using SolrJ

2013-08-09 Thread Shawn Heisey
On 8/9/2013 6:12 AM, sowja...@pointcross.com wrote: > When using SolrJ I've realized document dates are being modified according > to the environment UTC timezone. > > I have indexed the large amount of data on date fileds of Solr (using Solr > 3.3). While retrieving this date using the SolrJ into

Re: Environment Timezone considered When using SolrJ

2013-08-09 Thread Jack Krupansky
rg Subject: Environment Timezone considered When using SolrJ Hi, When using SolrJ I've realized document dates are being modified according to the environment UTC timezone. I have indexed the large amount of data on date fileds of Solr (using Solr 3.3). While retrieving this date using

Environment Timezone considered When using SolrJ

2013-08-09 Thread sowja...@pointcross.com
ified. Are we missing any setting at solrConfig. Any Help -- View this message in context: http://lucene.472066.n3.nabble.com/Environment-Timezone-considered-When-using-SolrJ-tp4083497.html Sent from the Solr - User mailing list archive at Nabble.com.