Hi, Frédéric and remaining community, there is anyway to list only the records that are suppressed in the OPAC? The advanced search does not allow to search by XML field and subfield... Regards. Vitor Fernandes 2011/1/28 Vitor Fernandes <vitorfernandes87@gmail.com>:
Thanks for the help Frédéric,
The problem was exactly in the mapping of zebra index... Now it works fine.
Regards. Vitor Fernandes
2011/1/28 Frédéric Demians <frederic@tamil.fr>:
Hello Vitor,
I'm using UNIMARC which doesn't have the field 942$n, so i've created it with the default value 0. Then I've created one biblio record, where the field 942$n was changed to 1.
I've read that the Zebra must do suppress index, but how I can activate it? I'm doing something wrong? For example UNIMARC field for suppress can be another field than 942$n?
MARC21 Zebra configuration coming with standard Koha has defined an index for this field. UNIMARC Zebra configuration hasn't. Take a look at:
etc/zebradb/marc_defs/marc21/biblios/records.abs
You will find the line which defines the Suppress index:
melm 942$n Suppress:w,Suppress:n
You must add an equivalent line in:
etc/zebradb/marc_defs/unimarc/biblios/records.abs
Rather that adding a new tag to UNIMARC framework, you can add a subfield to an existing one: 915$n for example. So you should add:
melm 915$n Suppress:w,Suppress:n
-- Frédéric