Commit 6c62eeb7 authored by jerome's avatar jerome
Browse files

changes on indexer for article doctype

parent ce915a8a
......@@ -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>
......
#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=gfloffline
name=gfl
config=solrconfig.xml
#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=gfloffline
config=solrconfig.xml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment