lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Rekowski (JIRA)" <>
Subject [jira] [Commented] (SOLR-3481) Date field value differs between two installations
Date Mon, 28 May 2012 10:08:22 GMT


David Rekowski commented on SOLR-3481:

Seems to have been an internal problem: the schema.xml I send didn't get used, with the default
schema, the values went awry. Maybe this helps someone eventually.
> Date field value differs between two installations
> --------------------------------------------------
>                 Key: SOLR-3481
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 3.6
>         Environment: A. Mac 10.7.4 with integrated Jetty
> B. Ubuntu 12.04 with Tomcat
>            Reporter: David Rekowski
>              Labels: datefield,, format, mac
> When I query the Solr Server, I get a formatted timestamp in environment A "2012-05-11T12:59:01.691Z",
whereas I get a unix timestamp like number in environment B "1336728376797" which looks like
the date extended by microseconds.
> The corresponding schema definition:
>    <field name="index_time_s" type="date" indexed="true" stored="true" default="NOW"
> Background: We migrated an index generated on a mac/jetty to a linux/tomcat installation
of Solr. Regardless of that, this happens with newly indexed documents as well.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message