projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3571462
)
Add match of score
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 18 Sep 2012 13:59:47 +0000
(15:59 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 18 Sep 2012 13:59:47 +0000
(15:59 +0200)
etc/solr-pz2.xsl
patch
|
blob
|
history
diff --git
a/etc/solr-pz2.xsl
b/etc/solr-pz2.xsl
index
e966711
..
bed0c9c
100644
(file)
--- a/
etc/solr-pz2.xsl
+++ b/
etc/solr-pz2.xsl
@@
-14,6
+14,15
@@
</pz:record>
</xsl:template>
+ <xsl:template match="float[@name]">
+ <pz:metadata>
+ <xsl:attribute name="type">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
<xsl:template match="str[@name]">
<pz:metadata>
<xsl:attribute name="type">