Commit e50498ad authored by bettin5's avatar bettin5
Browse files

changes for solr

parent d37d3c82
...@@ -71,7 +71,7 @@ Refer to comments in the code to understand the used algorithm. ...@@ -71,7 +71,7 @@ Refer to comments in the code to understand the used algorithm.
</field> </field>
</xsl:for-each> </xsl:for-each>
<xsl:apply-templates select="facsimile" /> <xsl:apply-templates select="facsimile" />
<xsl:apply-templates select="//listBibl" /> <xsl:apply-templates select="//body/listBibl" />
</doc> </doc>
<xsl:apply-templates select="text" mode="page_splitting" /> <xsl:apply-templates select="text" mode="page_splitting" />
...@@ -82,7 +82,7 @@ Refer to comments in the code to understand the used algorithm. ...@@ -82,7 +82,7 @@ Refer to comments in the code to understand the used algorithm.
<xsl:template match="listBibl"> <xsl:template match="listBibl">
<doc> <doc>
<xsl:for-each select="bibl"> <xsl:for-each select="bibl">
<field name="literatur"> <doc>
<field name="literatur_id"> <field name="literatur_id">
<xsl:value-of select="./@xml:id"/> <xsl:value-of select="./@xml:id"/>
</field> </field>
...@@ -129,8 +129,9 @@ Refer to comments in the code to understand the used algorithm. ...@@ -129,8 +129,9 @@ Refer to comments in the code to understand the used algorithm.
<xsl:value-of select="./normalize-space()"/> <xsl:value-of select="./normalize-space()"/>
</field> </field>
</xsl:for-each> </xsl:for-each>
</field> </doc>
</xsl:for-each> </xsl:for-each>
</doc> </doc>
</xsl:template> </xsl:template>
......
...@@ -44,24 +44,23 @@ ...@@ -44,24 +44,23 @@
</analyzer> </analyzer>
</fieldType> </fieldType>
<field name="id" type="string" /> <field name="id" type="string" /><!--TODO required-->
<!-- for doctype 'literatur' --> <field name="literatur" type="string" required="false" multiValued="true" /><!--TODO remove-->
<field name="literatur_id" type="string" multiValued="true"/>
<field name="literatur_id" type="string" /> <field name="uri" type="string" multiValued="true"/>
<field name="uri" type="string" /> <field name="authors" type="string" multiValued="true" />
<field name="authors" type="string" multiValued="true" /> <field name="editor" type="string" multiValued="true" />
<field name="editors" type="string" multiValued="true" /> <field name="title_literatur" type="string" multiValued="true"/>
<field name="title_literatur" type="string" /> <field name="edition" type="string" multiValued="true"/>
<field name="edition" type="string" /> <field name="pub_place" type="string" multiValued="true"/>
<field name="pub_place" type="string" /> <field name="publisher" type="string" multiValued="true"/>
<field name="publisher" type="string" /> <field name="pub_date" type="string" multiValued="true"/>
<field name="pub_date" type="date" /> <field name="idno" type="string" multiValued="true"/>
<field name="idno" type="string"/> <field name="refs" type="string" multiValued="true" />
<field name="refs" type="string" multiValued="true" />
<!-- 'article' or 'page' --> <!-- 'article' or 'page' -->
<field name="doctype" type="string" required="true" /> <field name="doctype" type="string" required="false" /><!--TODO required-->
<!-- for doctype 'page' --> <!-- for doctype 'page' -->
<field name="article_id" type="string" /> <field name="article_id" type="string" />
......
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