epifanio / adc-pycsw

Setup and deployment of PyCSW for the Arctic Data Centre (ADC) project
2 stars 0 forks source link

Parent / Child relations #14

Open magnarem opened 9 months ago

magnarem commented 9 months ago

The following line will need to be set to series when doc['isParent] = True https://github.com/epifanio/adc-pycsw/blob/5196783396dca732be2b0a053c4af18348ec5955/plugins/repository/solr_metno.py#L363

And we will need to add: record['parentidentifier'] = doc['related_dataset'] when doc[isChild = True]

I think this fixes will add parent/child relations for the default outputschema results at least.