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
6c62eeb7
Commit
6c62eeb7
authored
Sep 04, 2020
by
jerome
Browse files
changes on indexer for article doctype
parent
ce915a8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
gfl-plugin/src/main/resources/gfl-indexer.xslt
View file @
6c62eeb7
...
...
@@ -405,7 +405,7 @@ Refer to comments in the code to understand the used algorithm.
<xsl:when
test=
"contains(document-uri(/), 'Lit_Bearbeitung/')"
>
<field
name=
"id"
>
<xsl:value-of
select=
"substring-after(substring-before(document-uri(/), '.xml'), 'Lit_Bearbeitung/')"
/>
</field>
</field>
</xsl:when>
<xsl:otherwise>
<field
name=
"id"
>
...
...
@@ -413,7 +413,9 @@ Refer to comments in the code to understand the used algorithm.
</field>
</xsl:otherwise>
</xsl:choose>
<field
name=
"doctype"
>
article
</field>
<field
name=
"doctype"
>
article
</field>
<!--TODO select when it is article when literature-->
<field
name=
"number_of_pages"
>
<xsl:value-of
select=
"count(//pb)"
/>
</field>
...
...
solr/gfl/core.properties
View file @
6c62eeb7
#Written by CorePropertiesLocator
#
Mon May 04 09:19:20
UTC 2020
#
Thu Sep 03 10:14:52
UTC 2020
schema
=
schema.xml
dataDir
=
data
name
=
gfl
offline
name
=
gfl
config
=
solrconfig.xml
solr/gfloffline/core.properties
View file @
6c62eeb7
#Written by CorePropertiesLocator
#
Mon May 04 09:19:20
UTC 2020
#
Thu Sep 03 10:14:52
UTC 2020
schema
=
schema.xml
dataDir
=
data
name
=
gfl
name
=
gfl
offline
config
=
solrconfig.xml
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