Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-2061

Solr documents with date fields cannot be updated with Dao classes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      If a Solr collection schema includes a date field:

      <field name="timestamp_solr" type="iso_timestamp" indexed="true" stored="true" />
      <fieldType name="iso_timestamp" stored="true" indexed="true" multiValued="false" class="solr.TrieDateField" sortMissingLast="false" docValues="true"/>
      

      and a document is indexed with that field populated, this error is thrown when attempting to update that document using the REST patch endpoint:

      Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://node1:8983/solr/yaf: Invalid Date String:'75231198000'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rmerriman Ryan Merriman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m