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
27e836b0
Commit
27e836b0
authored
Nov 12, 2020
by
jerome
Browse files
chg schema and scraping for lit doctypes #GFL-143
parent
3ad026e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
gfl-plugin/src/main/resources/gfl-indexer.xslt
View file @
27e836b0
...
...
@@ -301,10 +301,17 @@ Refer to comments in the code to understand the used algorithm.
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:for-each
select=
"biblScope"
>
<field
name=
"biblScope"
>
<xsl:value-of
select=
"./normalize-space()"
/>
</field>
<xsl:for-each
select=
"biblScope"
>
<xsl:if
test=
".[@unit='volume']"
>
<field
name=
"biblScope_volume"
>
<xsl:value-of
select=
"./normalize-space()"
/>
</field>
</xsl:if>
<xsl:if
test=
".[@unit='pages']"
>
<field
name=
"biblScope_pages"
>
<xsl:value-of
select=
"./normalize-space()"
/>
</field>
</xsl:if>
</xsl:for-each>
<xsl:if
test=
"edition!=''"
>
<field
name=
"edition"
>
...
...
solr/gfl/conf/schema.xml
View file @
27e836b0
...
...
@@ -86,6 +86,8 @@
<field
name=
"ISBN"
type=
"string"
/>
<field
name=
"extent"
type=
"string"
multiValued=
"true"
/>
<field
name=
"biblScope"
type=
"string"
multiValued=
"true"
/>
<field
name=
"biblScope_volume"
type=
"string"
multiValued=
"true"
/>
<field
name=
"biblScope_pages"
type=
"string"
multiValued=
"true"
/>
<!-- for doctype 'page' -->
<field
name=
"article_id"
type=
"string"
/>
...
...
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