http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7818
--- Comment #14 from Jared Camins-Esakov <[email protected]> --- Created attachment 8970 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8970&action=edit Bug 7818: Zebra DOM filter index definitions for MARC21 bibs The file biblio-zebra-indexdefs.xsl, which is the stylesheet that is used by the Zebra DOM filter to convert an incoming MARC21 bib to its indexed form, was generated by the following two steps: misc/maintenance/make_zebra_dom_cfg_from_record_abs \ --input etc/zebradb/marc_defs/marc21/biblios/record.abs \ --output etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml xsltproc etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl \ etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml \ > etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl Records indexed using this XSLTshould behave similarly to records indexed using the GRS-1 filter and the old record.abs definition, with the following big exception (and improvemwent): indexed phrases now span subfield boundaries if a specific subfield wasn't specified in the index definition. For example, the GRS-1 filter index definition melm 245 Title would allow 245 $a Cats on boxes : $b cardboard fantasies to be searched as the phrases "cats on boxes" or "cardboard fantasies", but a title phrase seach of "cats on boxes cardboard fantasises" wouldn't work. The DOM filter equivalent, <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="245"> <target_index>Title:w</target_index> <target_index>Title:p</target_index> </index_data_field> *does* allow phrase searches to span subfield boundaries. Signed-off-by: Galen Charlton <[email protected]> Signed-off-by: Jared Camins-Esakov <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
