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