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