@@ -, +, @@
- comments
- 216 was indexed in Conference-name as well as Trademark. I supposes "Conference-name" is an error, so I indexed only in Trademark
- index 2 new notes : 340 / 356
- index a set of bib and auth records with GRS-1
- make some searches on different kind of authorities
- index the same records with DOM
- make the same searches
- You are not supposed to see differences
---
.../authorities/authority-koha-indexdefs.xml | 683 ++++++++++++++++++++
.../authorities/authority-zebra-indexdefs.xsl | 669 +++++++++++++++++++
.../marc_defs/unimarc/authorities/record.abs | 71 +-
3 files changed, 1401 insertions(+), 22 deletions(-)
create mode 100644 etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml
create mode 100644 etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl
--- a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml
+++ a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml
@@ -0,0 +1,683 @@
+
+
+
+ marc:controlfield[@tag='001']
+
+
+ Local-Number:w
+ Local-Number:s
+ Local-Number:n
+
+
+
+
+ Personal-name:w
+ Personal-name:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Personal-name-heading:w
+ Personal-name-heading:p
+ Personal-name-heading:s
+
+
+
+ Personal-name-see:w
+ Personal-name-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Personal-name-see-also:w
+ Personal-name-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Personal-name-parallel:w
+ Personal-name-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Corporate-name:w
+ Corporate-name:p
+ Conference-name:w
+ Conference-name:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Corporate-name-heading:w
+ Corporate-name-heading:p
+ Corporate-name-heading:s
+ Conference-name-heading:w
+ Conference-name-heading:p
+ Conference-name-heading:s
+
+
+
+ Corporate-name-see:w
+ Corporate-name-see:p
+ Conference-name-see:w
+ Conference-name-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Corporate-name-see-also:w
+ Corporate-name-see-also:p
+ Conference-name-see-also:w
+ Conference-name-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Corporate-name-parallel:w
+ Corporate-name-parallel:s
+ Conference-name-parallel:w
+ Conference-name-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Name-geographic:w
+ Name-geographic:p
+ Name-geographic:s
+ Term-geographic:w
+ Term-geographic:p
+ Term-geographic:s
+ Heading:w
+ Heading:p
+ Heading:s
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Name-geographic-heading:w
+ Name-geographic-heading:p
+ Name-geographic-heading:s
+ Term-geographic-heading:w
+ Term-geographic-heading:p
+ Term-geographic-heading:s
+
+
+
+ Name-geographic-see:w
+ Name-geographic-see:p
+ Term-geographic-see:w
+ Term-geographic-see:p
+ Term-geographic-see:s
+ See:w
+ See:p
+ See:s
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Name-geographic-see-also:w
+ Name-geographic-see-also:p
+ Term-geographic-see-also:w
+ Term-geographic-see-also:p
+ Term-geographic-see-also:s
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Name-geographic-parallel:w
+ Name-geographic-parallel:s
+ Term-geographic-parallel:w
+ Term-geographic-parallel:s
+ Term-geographic-parallel:p
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Trademark:w
+ Trademark:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Trademark-heading:w
+ Trademark-heading:p
+ Trademark-heading:s
+
+
+
+ Trademark-see:w
+ Trademark-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Trademark-see-also:w
+ Trademark-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Trademark-parallel:w
+ Trademark-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Name:w
+ Name:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Name-heading:w
+ Name-heading:p
+ Name-heading:s
+
+
+
+ Name-see:w
+ Name-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Name-see-also:w
+ Name-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Name-parallel:w
+ Name-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Title-uniform:w
+ Title-uniform:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Title-uniform-heading:w
+ Title-uniform-heading:p
+ Title-uniform-heading:s
+
+
+
+ Title-uniform-see:w
+ Title-uniform-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Title-uniform-see-also:w
+ Title-uniform-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Title-uniform-parallel:w
+ Title-uniform-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Title-uniform:w
+ Title-uniform:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Title-uniform-heading:w
+ Title-uniform-heading:p
+ Title-uniform-heading:s
+
+
+
+ Title-uniform-see:w
+ Title-uniform-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Title-uniform-see-also:w
+ Title-uniform-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Title-uniform-parallel:w
+ Title-uniform-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Name-Title:w
+ Name-Title:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Name-Title-heading:w
+ Name-Title-heading:p
+ Name-Title-heading:s
+
+
+
+ Name-Title-see:w
+ Name-Title-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Name-Title-see-also:w
+ Name-Title-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Name-Title-parallel:w
+ Name-Title-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Title-uniform:w
+ Title-uniform:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+ Title-uniform-heading:w
+ Title-uniform-heading:p
+ Title-uniform-heading:s
+
+
+
+ Title-uniform-see:w
+ Title-uniform-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Title-uniform-see-also:w
+ Title-uniform-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Title-uniform-parallel:w
+ Title-uniform-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Subject:w
+ Subject:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+ Subject-heading:w
+ Subject-heading:p
+ Subject-heading:s
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+
+
+
+ Subject-see:w
+ Subject-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Subject-see-also:w
+ Subject-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Subject-parallel:w
+ Subject-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Place:w
+ Place:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+ Place-heading:w
+ Place-heading:p
+ Place-heading:s
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+
+
+
+ Place-see:w
+ Place-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Place-see-also:w
+ Place-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Place-parallel:w
+ Place-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Form:w
+ Form:p
+ Heading:w
+ Heading:p
+ Match:w
+ Match:p
+ Match-heading:w
+ Match-heading:p
+ Form-heading:w
+ Form-heading:p
+ Form-heading:s
+
+
+ Heading:s
+ Heading-Main:w
+ Heading-Main:p
+ Heading-Main:s
+
+
+
+ Form-see:w
+ Form-see:p
+ See:w
+ See:p
+ Match:w
+ Match:p
+ Match-heading-see-form:w
+ Match-heading-see-form:p
+
+
+
+ Form-see-also:w
+ Form-see-also:p
+ See-also:w
+ See-also:p
+ Match:w
+ Match:p
+
+
+
+ Form-parallel:w
+ Form-parallel:s
+ Parallel:w
+ Parallel:p
+ Match:w
+ Match:p
+
+
+
+
+ Note:w
+ Note:p
+
+
+ Note:w
+ Note:p
+
+
+ Note:w
+ Note:p
+
+
+ Note:w
+ Note:p
+
+
+ Note:w
+ Note:p
+
+
+ Note:w
+ Note:p
+
+
+ Note:w
+ Note:p
+
+
+
+
+ authtype:w
+ authtype:p
+
+
+ authtype:w
+
+
--- a/etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl
+++ a/etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl
@@ -0,0 +1,669 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- a/etc/zebradb/marc_defs/unimarc/authorities/record.abs
+++ a/etc/zebradb/marc_defs/unimarc/authorities/record.abs
@@ -1,3 +1,11 @@
+#
+# NOTE: If you are using the DOM index filter, this configuration file is
+# *not* used. To update the index definitions for the DOM filter,
+# edit authority-koha-indexdefs.xml and run
+# xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
+# authority-koha-indexdefs.xml \
+# > authority-zebra-indexdefs.xsl
+#
# This is a fairly simple set of UNIMARC Authority indexing rules
encoding utf-8
name authorities
@@ -12,9 +20,14 @@ xpath enable
all any
melm 001 Local-Number,Local-Number:n,Local-Number:s
+#FIXME check if 942 is used
melm 942$a authtype
melm 152$b authtype:w,authtype:p
+#FIXME index some coded fields and leader positions?
+#FIXME why only $a indexed for some 7XX and not for others (710, 715, 716, 720)?
+#FIXME why 250/260/280 indexed as Subject-heading, Place-heading and Form-heading (not only 250/260/280$a) ?
+
# Personal Name
melm 200$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 200 Personal-name:w,Personal-name:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
@@ -22,15 +35,17 @@ melm 400 Personal-name-see:w,Personal-name-see:p,See:w,See:p,Match:w,Match:p,Mat
melm 500 Personal-name-see-also:w,Personal-name-see-also:p,See-also:w,See-also:p,Match:w,Match:p
melm 700$a Personal-name-parallel:w,Personal-name-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-# Corporate Name
+# Corporate Name and conference Name
+# with GRS-1, no way to make the difference
+# with DOM, possible
melm 210$a Corporate-name-heading:w,Corporate-name-heading:p,Corporate-name-heading:s,Corporate-name:w,Corporate-name:p,Conference-name-heading:w,Conference-name-heading:p,Conference-name-heading:s,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 210 Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 410 Corporate-name-see:w,Corporate-name-see:p,Conference-name-see:w,Conference-name-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
melm 510 Corporate-name-see-also:w,Corporate-name-see-also:p,Conference-name-see-also:w,Conference-name-see-also:p,See-also:w,See-also:p,Match:w,Match:p
melm 710 Corporate-name-parallel:w,Corporate-name-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-
-# Geographic & Geographic Name
+# Geographic Name
+# FIXME : what is Term-geographic?
melm 215$a Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Term-geographic-heading:w,Term-geographic-heading:p,Term-geographic-heading:s,Term-geographic:w,Term-geographic:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 215 Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Term-geographic:w,Term-geographic:p,Term-geographic:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 415 Name-geographic-see:w,Name-geographic-see:p,Term-geographic-see:w,Term-geographic-see:p,Term-geographic-see:s,See:w,See:p,See:s,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
@@ -38,10 +53,10 @@ melm 515 Name-geographic-see-also:w,Name-geographic-see-also:p,Term-geographic-s
melm 715 Name-geographic-parallel:w,Name-geographic-parallel:p,Term-geographic-parallel:w,Term-geographic-parallel:p,Term-geographic-parallel:s,Parallel:w,Parallel:p,Parallel:s,Match:w,Match:p
# Trademark
-melm 216$a Trademark-heading:w,Trademark-heading:p,Trademark-heading:s,Trademark:w,Trademark:p,Conference-name-heading:w,Conference-name-heading:p,Conference-name-heading:s,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 216 Trademark:w,Trademark:p,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
-melm 416 Trademark-see:w,Trademark-see:p,Conference-name-see:w,Conference-name-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
-melm 516 Trademark-see-also:w,Trademark-see-also:p,Conference-name-see-also:w,Conference-name-see-also:p,See-also:w,See-also:p,Match:w,Match:p
+melm 216$a Trademark-heading:w,Trademark-heading:p,Trademark-heading:s,Trademark:w,Trademark:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
+melm 216 Trademark:w,Trademark:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
+melm 416 Trademark-see:w,Trademark-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
+melm 516 Trademark-see-also:w,Trademark-see-also:p,See-also:w,See-also:p,Match:w,Match:p
melm 716 Trademark-parallel:w,Trademark-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
# Family Name
@@ -58,21 +73,22 @@ melm 430 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Mat
melm 530 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
melm 730$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-# Second area for uniform titles in UNIMARC?
+# Collective Uniform Title
melm 235$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 235 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 435 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
melm 535 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
melm 735$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-# Uniform Title
+# Name and Title
melm 240$a Name-Title-heading:w,Name-Title-heading:p,Name-Title-heading:s,Name-Title:w,Name-Title:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 240 Name-Title:w,Name-Title:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 440 Name-Title-see:w,Name-Title-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
melm 540 Name-Title-see-also:w,Name-Title-see-also:p,See-also:w,See-also:p,Match:w,Match:p
melm 740$a Name-Title-parallel:w,Name-Title-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-# Second area for uniform titles in UNIMARC?
+# Name and Collective Title
+# FIXME maybe use Name-Title index?
melm 245$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 245 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
melm 445 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
@@ -101,26 +117,39 @@ melm 580 Form-see-also:w,Form-see-also:p,See-also:w,See-also:p,Match:w,Match:p
melm 780$a Form-parallel:w,Form-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
-# NOTE: subdivisions management missing from Koha
-# Not in UNIMARC?
+# FIXME: manage subdivisions ($j,$x,$y,$z)
# General Subdivision
-# melm 180 Subject-subdivision,Heading:w,Heading:p,Heading:s
+# Subject-subdivision,Heading:w,Heading:p,Heading:s
# Geographic Subdivision
-# melm 181 Geographic-subdivision,Heading:w,Heading:p,Heading:s
+# Geographic-subdivision,Heading:w,Heading:p,Heading:s
# Chronological Subdivision
-# melm 182 Chronological-subdivision,Heading:w,Heading:p,Heading:s
+# Chronological-subdivision,Heading:w,Heading:p,Heading:s
# Form Subdivision
-# melm 185 Form-subdivision,Heading:w,Heading:p,Heading:s
-melm 300$a Note
+# Form-subdivision,Heading:w,Heading:p,Heading:s
+
+# 300 Information note
+melm 300$a Note:w,Note:p
+# 305 "See also" reference note
+melm 305$a Note:w,Note:p
+# 310 "See" reference note
+melm 310$a Note:w,Note:p
+# 320 General explanatory reference note
+melm 320$a Note:w,Note:p
+# 330 General scope note
+melm 330$a Note:w,Note:p
+# 340 Biography and activity note
+melm 340$a Note:w,Note:p
+# 356 Geographical note
+melm 356$a Note:w,Note:p
+
+#FIXME Notes not defined in format. Keeping them for the moment
melm 301$a Note
melm 302$a Note
melm 303$a Note
melm 304$a Note
-melm 305$a Note
melm 306$a Note
melm 307$a Note
melm 308$a Note
-melm 310$a Note
melm 311$a Note
melm 312$a Note
melm 313$a Note
@@ -129,7 +158,6 @@ melm 315$a Note
melm 316$a Note
melm 317$a Note
melm 318$a Note
-melm 320$a Note
melm 321$a Note
melm 322$a Note
melm 323$a Note
@@ -138,9 +166,8 @@ melm 325$a Note
melm 326$a Note
melm 327$a Note
melm 328$a Note
-melm 330$a Note
melm 332$a Note
melm 333$a Note
melm 336$a Note
melm 337$a Note
-melm 345$a Note
+melm 345$a Note
--