[Koha-patches] [PATCH 0/6] Zebra DOM-filter indexing for bibs

Galen Charlton gmc at esilibrary.com
Mon Mar 26 07:44:41 CEST 2012


This is a series of patches implementing DOM-filter indexing for 
bibliographic records.  Currently this series of patches does the
following:

[1] Adds a Makefile.PL option to enable DOM filter indexing
[2] Adds a utility for converting a record.abs index definitions
    to DOM-style definitions
[3] Includes DOM-style index definitions for MARC21 bibs that are
    equivalent to the legacy record.abs, with the exception that
    phrases can span subfield boundaries.

To test this on an existing database, some variation of the following
procedure should work:

[1] perl Makefile.PL and choose to enable DOM indexing of bibs
[2] If the index defintions have been customized, use make_zebra_dom_cfg_from_record_abs
    and the koha-indexdefs-to-zebra.xsl stylesheet to generate a
    an updated biblio-zebra-indexdefs.xsl
[3] make
[4] make update_zebra_conf
[5] use rebuild_zebra.pl to index the database

Galen Charlton (6):
  bug 7818: update installer for biblio DOM indexing
  bug 7818: update miscellaneous installer scripts
  bug 7818: utility to generate DOM indexing configs
  bug 7818: move koha-indexdefs-to-zebra.xsl
  bug 7818: add index_data_field option to DOM indexing repertoire
  bug 7818: Zebra DOM filter index definitions for MARC21 bibs

 Koha/Indexer/Utils.pm                              |  222 ++
 Makefile.PL                                        |   22 +
 etc/koha-conf.xml                                  |   11 +-
 etc/zebradb/biblios/etc/dom-config-marc.xml        |   54 +
 etc/zebradb/biblios/etc/dom-config.xml             |   54 +
 .../marc21/authorities/koha-indexdefs-to-zebra.xsl |  403 ----
 .../marc21/biblios/biblio-koha-indexdefs.xml       | 1264 +++++++++++
 .../marc21/biblios/biblio-zebra-indexdefs.xsl      | 2345 ++++++++++++++++++++
 etc/zebradb/retrieval-info-bib-dom.xml             |   22 +
 etc/zebradb/retrieval-info-bib-grs1.xml            |   40 +
 etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl        |  440 ++++
 etc/zebradb/zebra-biblios-dom.cfg                  |   55 +
 install_misc/environment_Makefile.PL               |    2 +
 install_misc/install_koha_on_fresh_debian          |    1 +
 misc/koha-install-log                              |    4 +-
 .../maintenance/make_zebra_dom_cfg_from_record_abs |   72 +
 rewrite-config.PL                                  |    3 +
 17 files changed, 4607 insertions(+), 407 deletions(-)
 create mode 100644 Koha/Indexer/Utils.pm
 create mode 100644 etc/zebradb/biblios/etc/dom-config-marc.xml
 create mode 100644 etc/zebradb/biblios/etc/dom-config.xml
 delete mode 100644 etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl
 create mode 100644 etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
 create mode 100644 etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
 create mode 100644 etc/zebradb/retrieval-info-bib-dom.xml
 create mode 100644 etc/zebradb/retrieval-info-bib-grs1.xml
 create mode 100644 etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
 create mode 100644 etc/zebradb/zebra-biblios-dom.cfg
 create mode 100755 misc/maintenance/make_zebra_dom_cfg_from_record_abs

-- 
1.7.2.5



More information about the Koha-patches mailing list