Skip to content

Commit

Permalink
UBO-261 FSU040THUL-1243 Added/index dynamic solr field "*_nid_text" t…
Browse files Browse the repository at this point in the history
…o solr-schema.json
  • Loading branch information
Possommi authored and kkrebs committed Aug 31, 2023
1 parent eee7c80 commit 2a1afbb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,15 @@
"stored": true
}
},
{
"add-dynamic-field": {
"name": "*_nid_text",
"type": "string",
"multiValued": true,
"indexed": true,
"stored": true
}
},
{
"add-dynamic-field": {
"name": "id_*",
Expand Down
4 changes: 4 additions & 0 deletions ubo-common/src/main/resources/xsl/ubo-solr.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@
<field name="nid_{@type}">
<xsl:value-of select="text()" />
</field>

<field name="{@type}_nid_text">
<xsl:apply-templates select=".." mode="solrField" />
</field>
</xsl:template>

<xsl:template match="mods:name[mods:nameIdentifier[@type='lsf']]" mode="solrField.lsf">
Expand Down

0 comments on commit 2a1afbb

Please sign in to comment.