diff --git a/src/main/resources/config/reposis_openagrar/solr/main/solr-schema.json b/src/main/resources/config/reposis_openagrar/solr/main/solr-schema.json index ba0c5bc..b7af4a1 100644 --- a/src/main/resources/config/reposis_openagrar/solr/main/solr-schema.json +++ b/src/main/resources/config/reposis_openagrar/solr/main/solr-schema.json @@ -121,12 +121,22 @@ "multiValued":true } }, + { + "replace-field": { + "name": "mods.mainAuthor", + "type": "mods.collatedGERMAN", + "indexed": true, + "stored": false, + "multiValued":true + } + }, { "add-field": { "name": "mods.mainAuthor.affiliation", "type": "mods.collatedGERMAN", "indexed": true, - "stored": false + "stored": false, + "multiValued":true } }, { @@ -134,7 +144,8 @@ "name": "mods.coAuthor", "type": "mods.collatedGERMAN", "indexed": true, - "stored": false + "stored": false, + "multiValued":true } }, { @@ -142,7 +153,8 @@ "name": "mods.coAuthor.affiliation", "type": "mods.collatedGERMAN", "indexed": true, - "stored": false + "stored": false, + "multiValued":true } }, { @@ -150,7 +162,8 @@ "name": "mods.correspondingAuthor", "type": "mods.collatedGERMAN", "indexed": true, - "stored": false + "stored": false, + "multiValued":true } }, { @@ -158,7 +171,8 @@ "name": "mods.correspondingAuthor.affiliation", "type": "mods.collatedGERMAN", "indexed": true, - "stored": false + "stored": false, + "multiValued":true } }, { @@ -166,7 +180,8 @@ "name": "mods.lastAuthor", "type": "mods.collatedGERMAN", "indexed": true, - "stored": false + "stored": false, + "multiValued":true } }, { @@ -174,7 +189,8 @@ "name": "mods.lastAuthor.affiliation", "type": "mods.collatedGERMAN", "indexed": true, - "stored": false + "stored": false, + "multiValued":true } }, { diff --git a/src/main/resources/xsl/migration/mycoreobject-remove-single-altRepGroup.xsl b/src/main/resources/xsl/migration/mycoreobject-remove-single-altRepGroup.xsl index 6f20e64..4f4404e 100644 --- a/src/main/resources/xsl/migration/mycoreobject-remove-single-altRepGroup.xsl +++ b/src/main/resources/xsl/migration/mycoreobject-remove-single-altRepGroup.xsl @@ -4,20 +4,8 @@ xmlns:mods="http://www.loc.gov/mods/v3" xmlns:xlink="http://www.w3.org/1999/xlink"> - - - - - - - - - - - - - - + + diff --git a/src/main/resources/xsl/openagrar-solr.xsl b/src/main/resources/xsl/openagrar-solr.xsl index 4a99e04..7199f0c 100644 --- a/src/main/resources/xsl/openagrar-solr.xsl +++ b/src/main/resources/xsl/openagrar-solr.xsl @@ -47,32 +47,50 @@ - + mainAuthor - + lastAuthor - noRole + noRole - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -94,17 +112,38 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - +