Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Goethes Farbenlehre
gfl-importer
Commits
cb669820
Commit
cb669820
authored
Feb 11, 2021
by
bettin5@sub.uni-goettingen.de
Browse files
chg exclude subtypes für letters/ chg list to strings
parent
658199ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
gfl-plugin/src/main/resources/gfl-indexer.xslt
View file @
cb669820
...
...
@@ -585,16 +585,18 @@ Refer to comments in the code to understand the used algorithm.
<xsl:value-of
select=
"//supportDesc/extent/dimensions/width/normalize-space()"
/><xsl:text>
</xsl:text><xsl:value-of
select=
"//supportDesc/extent/dimensions/@unit/normalize-space()"
/><xsl:text>
,
</xsl:text>
<xsl:value-of
select=
"//bindingDesc/normalize-space()"
/>
</field>
<xsl:for-each
select=
"//handNote"
>
<field
name=
"writer"
>
<xsl:value-of
select=
"
//handNote
/normalize-space()"
/>
<xsl:value-of
select=
"
.
/normalize-space()"
/>
</field>
</xsl:for-each>
<field
name=
"reference"
>
<xsl:value-of
select=
"//relatedItem[@subtype = 'related']/normalize-space()"
/>
</field>
<field
name=
"response"
>
<xsl:value-of
select=
"//relatedItem[@subtype = 'response']/normalize-space()"
/>
</field>
<xsl:for-each
select=
"//relatedItem"
>
<xsl:for-each
select=
"//relatedItem
[@type = 'letter' and not(@subtype)]
"
>
<field
name=
"related_items"
>
<xsl:value-of
select=
"./ref/normalize-space()"
/>
</field>
...
...
solr/gfl/conf/schema.xml
View file @
cb669820
...
...
@@ -126,12 +126,12 @@
<field
name=
"entitys_in_documents"
type=
"string"
multiValued=
"true"
/>
<!-- Metadata fields -->
<field
name=
"institution"
type=
"string"
multiValued=
"
tru
e"
/>
<field
name=
"shelfmark"
type=
"string"
multiValued=
"
tru
e"
/>
<field
name=
"script_source"
type=
"string"
multiValued=
"
tru
e"
/>
<field
name=
"institution"
type=
"string"
multiValued=
"
fals
e"
/>
<field
name=
"shelfmark"
type=
"string"
multiValued=
"
fals
e"
/>
<field
name=
"script_source"
type=
"string"
multiValued=
"
fals
e"
/>
<field
name=
"writer"
type=
"string"
multiValued=
"true"
/>
<field
name=
"response"
type=
"string"
multiValued=
"
tru
e"
/>
<field
name=
"reference"
type=
"string"
multiValued=
"
tru
e"
/>
<field
name=
"response"
type=
"string"
multiValued=
"
fals
e"
/>
<field
name=
"reference"
type=
"string"
multiValued=
"
fals
e"
/>
<field
name=
"related_items"
type=
"string"
multiValued=
"true"
/>
<field
name=
"all_header_fields"
type=
"text_de"
multiValued=
"true"
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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