Project

General

Profile

Actions

Bug #7168

closed

ReIndexing a document lost some prov information in the new generated solr doc

Added by Jing Tao almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/09/2016
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

Before I reindexed the urn:uuid:dcbdbea1-573f-4696-8590-14d6876d8d7e document on mn-dev-ucsb-1, it had four values on this field:
<arr name="prov_wasDerivedFrom">
<str>urn:uuid:64d8aacd-37e2-4441-80b0-375341cd04c1</str>
<str>urn:uuid:54c8a361-b008-465a-bd4f-0760e5329e5a</str>
<str>urn:uuid:86231c99-baa3-4921-aeea-8f630f8594b9</str>
<str>urn:uuid:55469e70-d7c5-48fc-9a39-1a37c302bb69</str>
</arr>

However, after I reindexed it it only has one value on this field:
<arr name="prov_wasDerivedFrom">
<str>urn:uuid:64d8aacd-37e2-4441-80b0-375341cd04c1</str>
</arr>

This field is merged from the existing field. So this means our code only merges one value.

Actions #1

Updated by Jing Tao almost 8 years ago

  • Subject changed from Index a document lost some prov information to ReIndexing a document lost some prov information in the new generated solr doc
Actions #2

Updated by Jing Tao almost 8 years ago

  • Status changed from New to Resolved

Used a vector to store the multiple values and the new code worked.

Actions

Also available in: Atom PDF