[koha-commits] main Koha release repository branch master updated. v3.14.00-alpha1-27-gc00131e

Git repo owner gitmaster at git.koha-community.org
Mon Oct 21 17:25:48 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  c00131e0ff4c5d0c12a6886f23bb0e29f5e9da65 (commit)
      from  0b1ed968c425bd98737ce1f6317f6b36b51f4ddd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c00131e0ff4c5d0c12a6886f23bb0e29f5e9da65
Author: Mathieu Saby <mathieu.saby at univ-rennes2.fr>
Date:   Sun Mar 17 14:54:12 2013 +0100

    Bug 9830: Fix some indexes in UNIMARC item indexing
    
    With this combination of sysprefs, and a UNIMARC configuration, it was
    impossible to search on location, barcode and ccode indexes :
    
    QueryWeightFields          is activated
    QueryAutoTruncate          only if * is added
    
    But in UNIMARC, location, barcode and ccode (995 $e,$f,h) were indexed
    only as "words". They need to be indexed also as "phrase".
    
    Additionnaly, in UNIMARC, information about damaged and withdrawn status
    of items is not indexed, while it is done in MARC21.
    
    This patch
    - add 2 new indexes for 995$1 (damaged) and 995$3 (withdrawn)
    - index location, barcode and ccode as "phrase" as well as "words"
    
    Indexing of items in UNIMARC could be improved later. So this patch also
    add comments explaining the origin of Koha 995, I think it could be
    useful for further changes.
    
    To test, on a UNIMARC configuration :
    A. indexed with GRS-1
    1) Set sysprefs QueryWeightFields as "activated" and QueryAutoTruncate
       as "only if * is added"
    2) Select location index in advanced search and search for a value
       existing in your records in 995$e => 0 results
    3) Apply patch
    4) Rebuild zebra
    5) Select location index in advanced search and search for a value
       existing in your records in 995$e => x results
    6) Mark an item as withdrawn; search "withdrawn:1" => x results, and
       among them the biblio to which the item is attached
    7) Mark an item as damaged ; search "damaged:1" => x results, and among
       them the biblio to which the item is attached
    
    B. indexed with DOM
    Do the same operations
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Work as described. No koha-qa errors
    
    Test
    Apply the patch
    Begin with GRS-1
    Full reindex
    Search by location, no results
    cp files biblio-*-indexdefs.xml and record.abs to destination on etc/zebra
    Full reindex
    Search by location, got results
    
    Switch to DOM
    reset files
    Full reindex
    Search by location, no results
    cp files
    Full reindex
    Search by location, results !
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 .../unimarc/biblios/biblio-koha-indexdefs.xml      |   23 ++++-
 .../unimarc/biblios/biblio-zebra-indexdefs.xsl     |   20 +++-
 etc/zebradb/marc_defs/unimarc/biblios/record.abs   |   98 +++++++++++++++++---
 3 files changed, 120 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list