[Koha-bugs] [Bug 6172] New: Zebra not indexed Unimarc-records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 12 12:39:10 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6172

             Bug #: 6172
           Summary: Zebra not indexed Unimarc-records
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Searching
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: dubyk at library.lviv.ua
         QAContact: koha-bugs at lists.koha-community.org


Created attachment 3888
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3888
simple entered biblio

In general: not searched records entered in the Unimarc-environment.

Used Debian packages of Koha (from squeeze and squeeze-dev). Currently it is:
koha-common_3.2.6-1_all.deb or
koha-common_3.3-1~git20110407105508.b1678665_all.deb. Tried install in current
stable Debian and unstable variants.

In web-installer was choosed English Unimarc (similar result for Ukrainian and
Russian Unimarc).

After install created simple biblio-record (with title=Book) and try to reindex
zebra with next warnings/errors:

{
#>sudo KOHA_CONF=/etc/koha/sites/ukr_unimarc/koha-conf.xml
PERL5LIB=/usr/share/koha/lib
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -r -v -x -k -nosanitize

Zebra configuration information
================================
Zebra biblio directory      = /var/lib/koha/ukr_unimarc/biblios
Zebra authorities directory = /var/lib/koha/ukr_unimarc/authorities
Koha directory              = /usr/share/koha/intranet/cgi-bin
BIBLIONUMBER in :     090$9
BIBLIOITEMNUMBER in : 090$a
================================
skipping authorities
====================
exporting biblio
====================
1
Records exported: 1
====================
REINDEXING zebra
====================
10:27:12-12/04 zebraidx(4846) [log] zebra_start 2.0.44
419ad759807269fdfa379799a051ed3a551c6541
10:27:12-12/04 zebraidx(4846) [log] config
/etc/koha/sites/ukr_unimarc/zebra-biblios.cfg
10:27:12-12/04 zebraidx(4846) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
10:27:12-12/04 zebraidx(4846) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
10:27:12-12/04 zebraidx(4846) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
10:27:12-12/04 zebraidx(4846) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
10:27:12-12/04 zebraidx(4846) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
10:27:12-12/04 zebraidx(4846) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
10:27:12-12/04 zebraidx(4846) [log] enabling shadow
spec=/var/lib/koha/ukr_unimarc/biblios/shadow:4G
10:27:12-12/04 zebraidx(4846) [log] cache_fname =
/var/lib/koha/ukr_unimarc/biblios/shadow/cache
10:27:12-12/04 zebraidx(4846) [log] zebra_stop: 0.06 0.00 0.00
10:27:12-12/04 zebraidx(4847) [log] zebra_start 2.0.44
419ad759807269fdfa379799a051ed3a551c6541
10:27:12-12/04 zebraidx(4847) [log] config
/etc/koha/sites/ukr_unimarc/zebra-biblios.cfg
10:27:12-12/04 zebraidx(4847) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
10:27:12-12/04 zebraidx(4847) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
10:27:12-12/04 zebraidx(4847) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
10:27:12-12/04 zebraidx(4847) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
10:27:12-12/04 zebraidx(4847) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
10:27:12-12/04 zebraidx(4847) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
10:27:12-12/04 zebraidx(4847) [log] enabling shadow
spec=/var/lib/koha/ukr_unimarc/biblios/shadow:4G
10:27:12-12/04 zebraidx(4847) [log] cache_fname =
/var/lib/koha/ukr_unimarc/biblios/shadow/cache
10:27:13-12/04 zebraidx(4847) [log] dir /tmp/Bjp22Rn17_/biblio
10:27:13-12/04 zebraidx(4847) [warn] Unknown register type: 0
10:27:13-12/04 zebraidx(4847) [warn] Record didn't contain match fields in
(bib1,Local-number)
10:27:13-12/04 zebraidx(4847) [log] error grs.sgml
/tmp/Bjp22Rn17_/biblio/exported_records 0
10:27:13-12/04 zebraidx(4847) [log] Iterations: isam/dict 64/19
10:27:13-12/04 zebraidx(4847) [log] Dict: inserts/updates/deletions: 19/0/0
10:27:13-12/04 zebraidx(4847) [log] Records: 0 i/u/d 0/0/0
10:27:13-12/04 zebraidx(4847) [log] zebra_stop: 0.14 0.02 0.00
10:27:13-12/04 zebraidx(4850) [log] zebra_start 2.0.44
419ad759807269fdfa379799a051ed3a551c6541
10:27:13-12/04 zebraidx(4850) [log] config
/etc/koha/sites/ukr_unimarc/zebra-biblios.cfg
10:27:13-12/04 zebraidx(4850) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
10:27:13-12/04 zebraidx(4850) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
10:27:13-12/04 zebraidx(4850) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
10:27:13-12/04 zebraidx(4850) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
10:27:13-12/04 zebraidx(4850) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
10:27:13-12/04 zebraidx(4850) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
10:27:13-12/04 zebraidx(4850) [log] enabling shadow
spec=/var/lib/koha/ukr_unimarc/biblios/shadow:4G
10:27:13-12/04 zebraidx(4850) [log] cache_fname =
/var/lib/koha/ukr_unimarc/biblios/shadow/cache
10:27:13-12/04 zebraidx(4850) [log] zebra_stop: 0.05 0.00 0.00
====================
CLEANING
}

In result in Koha this record not searched.

(also tried with "koha-rebuil-zebra ukr_unimarc" - not present any output but
the result was the same - record not searched)

Key-warning:
[warn] Record didn't contain match fields in (bib1,Local-number)

This warning is present for any instances with Unimarc.

found in next files:

1) /etc/koha/zebradb/marc_defs/unimarc/biblios/record.abs:
...
melm 090$9      Local-number,Local-number:n
...

2) /etc/koha/zebradb/biblios/etc/bib1.att
...
att 12    Local-number
...

3) /etc/koha/sites/ukr_unimarc/zebra-biblios.cfg
...
recordId: (bib1,Local-number)
...

What's interesting:
In marc21 zebra-indexing work without warnings about "Local-number" and similar
entered biblio was searched.
In marc21-file /etc/koha/zebradb/marc_defs/marc21/biblios/record.abs
this parameter commented:
...
#melm 035       Local-number,Identifier-standard
#melm 090$c     Local-number:w
...

I was tried also comment this in
/etc/koha/zebradb/marc_defs/unimarc/biblios/record.abs with no result

In zebra logs not found any errors/warnings during this indexing.

I don't understand what's wrong with Unimarc and Zebra...

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list