Koha/etc/zebradb
Fridolin Somers 95adc7a1f4 Bug 12453 - Do not use by default Host-Item-Number in UNIMARC
Actually, in default UNIMARC install, 461$9 is indexed as Host-Item-Number, meaning it is used for analytical itemnumber.

But most UNIMARC catalog use the analytical relation using unimarc_field_4XX.pl plugin on 461$a. In fact, this plugin is defined in default UNIMARC frameworks.

If Host-Item-Number is defined but 461$9 is used for something else, it will lead to odd bugs. For example, records containing analytical items can not be deleted.

This patch comments the 461$9 indexing in UNIMARC zebra config.

Test plan :
- Create a fresh UNIMARC install
- Create a record with 461$9 containing a value
- Index the record
- Perform a search on Host-Item-Number : ccl=Host-Item-Number,alwaysmatches=''
=> Without the patch you get a result
=> With the patch you get no result

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Code is clean, commenting out all the indexing of 461$9.
Trusting the author that this is the correct thing to do :)

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-08-24 12:32:30 -03:00
..
authorities/etc Bug 9612: (follow-up) restore elementSetName in Context.pm 2014-05-19 16:46:57 +00:00
biblios/etc Bug 9612: (follow-up) restore elementSetName in Context.pm 2014-05-19 16:46:57 +00:00
etc Bug 10729: Add phrases configuration for ICU 2014-05-05 04:10:57 +00:00
lang_defs Bug 10431 - Redundant mappings removed 2013-07-05 06:56:44 -07:00
marc_defs Bug 12453 - Do not use by default Host-Item-Number in UNIMARC 2014-08-24 12:32:30 -03:00
xsl Bug 8852: DOM XSL now handles subfield substring extraction 2013-10-10 15:19:20 +00:00
ccl.properties Bug 9972: Add/change some zebra indexes (MARC21) 2014-04-20 16:24:08 +00:00
cql.properties
explain-authorities.xml Bug 5370: Fix all references to koha.org 2010-11-09 10:45:27 +13:00
explain-biblios.xml Bug 5370: Fix all references to koha.org 2010-11-09 10:45:27 +13:00
pqf.properties
retrieval-info-auth-dom.xml Bug 9612: fix SRU response for DOM indexing 2014-05-05 20:28:04 +00:00
retrieval-info-auth-grs1.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
retrieval-info-bib-dom.xml Bug 9612: fix SRU response for DOM indexing 2014-05-05 20:28:04 +00:00
retrieval-info-bib-grs1.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
zebra-authorities-dom.cfg
zebra-authorities.cfg
zebra-biblios-dom.cfg Bug 7818: update installer for biblio DOM indexing 2012-06-09 11:43:56 +02:00
zebra-biblios.cfg Bug 7041: Sort >1000 search results with sortmax parameter in zebra config file 2011-12-03 08:15:34 +01:00