metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Merriman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (METRON-2061) Solr documents with date fields cannot be updated with Dao classes
Date Thu, 04 Apr 2019 13:25:00 GMT
Ryan Merriman created METRON-2061:
-------------------------------------

             Summary: Solr documents with date fields cannot be updated with Dao classes
                 Key: METRON-2061
                 URL: https://issues.apache.org/jira/browse/METRON-2061
             Project: Metron
          Issue Type: Bug
            Reporter: Ryan Merriman


If a Solr collection schema includes a date field:
{code:java}
<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"/>
{code}
and a document is indexed with that field populated, this error is thrown when attempting
to update that document using the REST patch endpoint:
{code:java}
Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from
server at http://node1:8983/solr/yaf: Invalid Date String:'75231198000'
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message