Project

General

Profile

Story #8537

indexer doesn't populate SID-defined relationships unless new resourceMap is submitted

Added by Rob Nahf over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_indexer
Target version:
-
Start date:
2018-04-09
Due date:
% Done:

0%

Story Points:

Description

If a relationship (documents, isDocumentedBy) is populated using the SID, the relationship fields don't get copied to obsoleting versions in the solr index, unless a new ResourceMap happens to be created. There's basically no trigger to make sure the newer versions get the relationships.

====>>>>>  Creating Package packageIndexingTest_P_S_P_F_T_F_20180400.14.25
           P  S  P       F  T  F
  : Created object packageIndexingTest_P_S_P_F_T_F_20180400.14.25_data.1 with seriesID 
  : Created object packageIndexingTest_P_S_P_F_T_F_20180400.14.25_md.1 with seriesID packageIndexingTest_P_S_P_F_T_F_20180400.14.25_md
  : ( ResMap: packageIndexingTest_P_S_P_F_T_F_20180400.14.25_resMap.1 metadata: packageIndexingTest_P_S_P_F_T_F_20180400.14.25_md data: packageIndexingTest_P_S_P_F_T_F_20180400.14.25_data.1)
  : Created object packageIndexingTest_P_S_P_F_T_F_20180400.14.25_resMap.1 with seriesID 

Package: packageIndexingTest_P_S_P_F_T_F_20180400.14.25
  Query: GET https://cn-sandbox.test.dataone.org/cn/v2/query/solr/?q=id:packageIndexingTest_P_S_P_F_T_F_20180400.14.25*&rows=20

    expected stored:  4
      actual stored:  3 *
         # archived:  0
   expected indexed:  3
     actual indexed:  3

                        ID               ResourceMap                 documents            isDocumentedBy
                   _data.1                 _resMap.1                                                 _md
                     _md.1                 _resMap.1                   _data.1                          
                 _resMap.1                                                                              


====>>>>>  Updating Package packageIndexingTest_P_S_P_F_T_F_20180400.14.25
           P  S  P       F  T  F
  : Updated object packageIndexingTest_P_S_P_F_T_F_20180400.14.25_md.1 with pid packageIndexingTest_P_S_P_F_T_F_20180400.14.25_md.2 with seriesID packageIndexingTest_P_S_P_F_T_F_20180400.14.25_md


Package: packageIndexingTest_P_S_P_F_T_F_20180400.14.25
  Query: GET https://cn-sandbox.test.dataone.org/cn/v2/query/solr/?q=id:packageIndexingTest_P_S_P_F_T_F_20180400.14.25*&rows=20

    expected stored:  4
      actual stored:  4
         # archived:  0
   expected indexed:  4
     actual indexed:  4

                        ID               ResourceMap                 documents            isDocumentedBy
                   _data.1                 _resMap.1                                                 _md
                     _md.1                 _resMap.1                   _data.1                          
                     _md.2                                                                              
                 _resMap.1                                                                              


Related issues

Related to Infrastructure - Story #8702: Indexing Refactor Strategy New 2018-09-24

History

#1 Updated by Rob Nahf about 3 years ago

  • Related to Story #8702: Indexing Refactor Strategy added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)