Commit 76001dcc authored by bettin5's avatar bettin5
Browse files

change author to literature_author and literatur/e

parent f6ac8e9a
......@@ -75,21 +75,21 @@ Refer to comments in the code to understand the used algorithm.
<xsl:apply-templates select="text" mode="page_splitting" />
</add>
</xsl:template>
<!-- -->
<!--TODO felder umbennenn so das sie nicht in der suche sind -->
<xsl:template match="listBibl">
<xsl:for-each select="bibl">
<doc>
<field name="id">
<xsl:value-of select="./@xml:id"/>
</field>
<field name="doctype">literatur</field>
<field name="doctype">literature</field>
<xsl:for-each select="relatedItem">
<field name="uri">
<xsl:value-of select="ref/@target"/>
</field>
</xsl:for-each>
<xsl:for-each select="author">
<field name="author">
<field name="literature_author">
<xsl:value-of select="."/>
</field>
</xsl:for-each>
......
......@@ -49,8 +49,9 @@
<!-- 'article' or 'page' or 'literatur'-->
<field name="doctype" type="string" required="true" />
<!-- for doctype 'literatur' -->
<!-- for doctype 'literature' -->
<field name="uri" type="string" multiValued="true"/>
<field name="literature_author" type="string" multiValued="true"/>
<field name="editor" type="string" multiValued="true" />
<field name="edition" type="string" multiValued="true"/>
<field name="pub_place" type="string" multiValued="true"/>
......@@ -74,8 +75,8 @@
<field name="fulltext" type="text_de" multiValued="false" />
<field name="fulltext_html" type="text_de" multiValued="false" />
<field name="short_title" type="text_de" multiValued="false" />
<field name="title" type="text_de" multiValued="true" /><!--TODO multivalue = "false"-->
<field name="author" type="text_de" multiValued="true" />
<field name="title" type="text_de" multiValued="false" /><!--TODO multivalue = "false"-->
<field name="author" type="text_de" multiValued="false" />
<field name="recipient" type="text_de" multiValued="false" />
<field name="origin_place" type="text_de" multiValued="false" />
<field name="destination_place" type="text_de" multiValued="false" />
......@@ -118,7 +119,7 @@
<copyField source="origin_date" dest="origin_date_sort" />
<!-- Solr needs string fields for facets -->
<field name="author_facet" type="string" multiValued="true"/>
<field name="author_facet" type="string" multiValued="true"/>
<copyField source="author" dest="author_facet" />
<field name="recipient_facet" type="string" />
<copyField source="recipient" dest="recipient_facet" />
......
#Written by CorePropertiesLocator
#Wed Mar 04 15:04:19 UTC 2020
#Thu Mar 05 12:12:58 UTC 2020
schema=schema.xml
dataDir=data
name=gfl
name=gfloffline
config=solrconfig.xml
#Written by CorePropertiesLocator
#Wed Mar 04 15:04:19 UTC 2020
#Thu Mar 05 12:12:58 UTC 2020
schema=schema.xml
dataDir=data
name=gfloffline
name=gfl
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