Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Goethes Farbenlehre
gfl-importer
Commits
625958aa
Commit
625958aa
authored
Mar 26, 2020
by
bettin5
Browse files
change target back to full link
parent
750cb9ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
gfl-plugin/src/main/resources/gfl-indexer.xslt
View file @
625958aa
...
...
@@ -317,8 +317,20 @@ Refer to comments in the code to understand the used algorithm.
<field
name=
"type_refs"
>
<xsl:value-of
select=
"./relatedItem/@type"
/>
</field>
<xsl:choose>
<xsl:when
test=
"./relatedItem/ref/@target"
>
<field
name=
"target"
>
<xsl:value-of
select=
"./relatedItem/ref/@target"
/>
</field>
</xsl:when>
<xsl:when
test=
"./relatedItem/bibl/ref/@target"
>
<field
name=
"target"
>
<xsl:value-of
select=
"./relatedItem/bibl/ref/@target"
/>
</field>
</xsl:when>
</xsl:choose>
<!--xsl:choose>
<xsl:when test="./relatedItem/ref/@target">
<xsl:variable name="targetString" select="substring-after(./relatedItem/ref/@target, 'http://fbl_bln/Lit/')"/>
<field name="target">
...
...
@@ -331,7 +343,7 @@ Refer to comments in the code to understand the used algorithm.
<xsl:value-of select="$targetString_bibl" />
</field>
</xsl:when>
</xsl:choose>
</xsl:choose
--
>
<field
name=
"ref_refs"
>
...
...
solr/gfl/conf/schema.xml
View file @
625958aa
...
...
@@ -97,7 +97,7 @@
<field
name=
"note_comment"
type=
"text_de"
multiValued=
"true"
/>
<field
name=
"image_id"
type=
"string"
multiValued=
"true"
/>
<field
name=
"type_refs"
type=
"string"
multiValued=
"true"
/>
<field
name=
"tar
t
get"
type=
"string"
multiValued=
"true"
/>
<field
name=
"target"
type=
"string"
multiValued=
"true"
/>
<field
name=
"ref_refs"
type=
"string"
multiValued=
"true"
/>
<field
name=
"bibl_refs"
type=
"string"
multiValued=
"true"
/>
<field
name=
"literature_refs"
type=
"string"
multiValued=
"true"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment