Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3481

Date field value differs between two installations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 3.6
    • None
    • A. Mac 10.7.4 with integrated Jetty
      B. Ubuntu 12.04 with Tomcat

    Description

      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" multiValued="false"/>

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rekowski David Rekowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: