Hi,All

I have a problem about Solr Date Field.

The problem is like below.

SolrBean foo = new Bean();
// The type of pubDate property is "java.util.Date" and rs means
"java.sql.ResultSet" so rs.getDate("pub_date") retuns java.sql.Date
Object.
bean.pubDate = rs.getDate("pub_date");

the value of pub_date column comes from MySQL and actually value is
"2010-10-05 00:00:00".

I regist "foo" bean to Solr through SolrJ like "new
CommonsHttpSolrServer().addBean(foo)"

I expected "2010-10-05 00:00:00" to display by Solr Admin but
"2010-10-04T15:00:00Z" displayed on Solr Admin.

is this timezone problem?(I live in Tokyo Japan).

Any Hint, please!

Reply via email to