@@ -, +, @@
Author:p
Personal-name:p
- create a record with 700$aDoe$bJohn (and nothing in 200$f or $g)
- Go in Advanced Search, and select the "Author as phrase" index
- with only the first 2 patches, you will have 0 result if you enter "Doe John" or "Doe John"
- with the 3 patches, you will have 1 result if you enter "Doe John" or "Doe John"
---
.../unimarc/biblios/biblio-koha-indexdefs.xml | 4 ++
.../unimarc/biblios/biblio-zebra-indexdefs.xsl | 15 +++++++
etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl | 42 ++++++++++++++++++++
3 files changed, 61 insertions(+)
--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml
+++ a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml
@@ -302,6 +302,10 @@
+
+ Author:p
+ Personal-name:p
+
Koha-Auth-Number:w
Koha-Auth-Number:n
--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl
+++ a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl
@@ -58,6 +58,21 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- a/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
+++ a/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
@@ -14,6 +14,7 @@
+
@@ -67,6 +68,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
+
@@ -237,6 +239,46 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
+
+
+
+
+ marc:datafield[@tag='
+
+ ']
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ contains('
+
+ ', @code)
+
+
+
+
+
+
+
+
+
+
+
+
--