[Koha] Zebra: only can index in XML format. Please help.

hoa lean anhoale at yahoo.com
Mon Apr 18 10:39:37 NZST 2011






Thank Tomas,
 
I did what you suggested, and still cannot see any result. It seems that you suggest me to change from DOM to GRS1.
The results from the reindex -a -v are:
 
Zebra configuration information
================================
Zebra biblio directory      = /var/lib/koha/zebradb/biblios
Zebra authorities directory = /var/lib/koha/zebradb/authorities
Koha directory              = /usr/webpages/koha/intranet/cgi-bin
BIBLIONUMBER in :     999$c
BIBLIOITEMNUMBER in : 999$d
================================
====================
exporting authority
====================
101..................................................................................................
Records exported: 149
====================
REINDEXING zebra
====================
09:47:23-18/04 zebraidx(21663) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f
09:47:23-18/04 zebraidx(21663) [log] config /etc/koha/zebradb/zebra-authorities.cfg
09:47:23-18/04 zebraidx(21663) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so
09:47:23-18/04 zebraidx(21663) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so
09:47:23-18/04 zebraidx(21663) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so
09:47:23-18/04 zebraidx(21663) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so
09:47:23-18/04 zebraidx(21663) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so
09:47:23-18/04 zebraidx(21663) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so
09:47:23-18/04 zebraidx(21663) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so
09:47:23-18/04 zebraidx(21663) [log] enabling shadow spec=/var/lib/koha/zebradb/authorities/shadow:1G
09:47:23-18/04 zebraidx(21663) [log] cache_fname = /var/lib/koha/zebradb/authorities/shadow/cache
09:47:23-18/04 zebraidx(21663) [log] dir /tmp/coujdZdf_R/authority
09:47:23-18/04 zebraidx(21663) [warn] Index 'any' not found in attset(s)
09:47:23-18/04 zebraidx(21663) [log] update grs.marcxml.record /tmp/coujdZdf_R/authority/exported_records 0
09:47:23-18/04 zebraidx(21663) [log] update grs.marcxml.record /tmp/coujdZdf_R/authority/exported_records 377
09:47:23-18/04 zebraidx(21663) [log] update grs.marcxml.record /tmp/coujdZdf_R/authority/exported_records 743
…
09:47:23-18/04 zebraidx(21663) [log] update grs.marcxml.record /tmp/coujdZdf_R/authority/exported_records 61307
09:47:23-18/04 zebraidx(21663) [log] update grs.marcxml.record /tmp/coujdZdf_R/authority/exported_records 61568
09:47:23-18/04 zebraidx(21663) [log] Iterations: isam/dict 8/2
09:47:23-18/04 zebraidx(21663) [log] Dict: inserts/updates/deletions: 1/0/1
09:47:23-18/04 zebraidx(21663) [log] Records: 149 i/u/d 0/149/0
09:47:23-18/04 zebraidx(21663) [log] zebra_stop: 0.41 0.10 0.04
09:47:23-18/04 zebraidx(21665) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f
09:47:23-18/04 zebraidx(21665) [log] config /etc/koha/zebradb/zebra-authorities.cfg
09:47:23-18/04 zebraidx(21665) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so
09:47:23-18/04 zebraidx(21665) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so
09:47:23-18/04 zebraidx(21665) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so
09:47:23-18/04 zebraidx(21665) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so
09:47:23-18/04 zebraidx(21665) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so
09:47:23-18/04 zebraidx(21665) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so
09:47:23-18/04 zebraidx(21665) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so
09:47:23-18/04 zebraidx(21665) [log] enabling shadow spec=/var/lib/koha/zebradb/authorities/shadow:1G
09:47:23-18/04 zebraidx(21665) [log] cache_fname = /var/lib/koha/zebradb/authorities/shadow/cache
09:47:23-18/04 zebraidx(21665) [log] zebra_stop: 0.18 0.01 0.01
skipping biblios
====================
CLEANING
====================
 
I just wonder does the result show any errors that I cannot figure out beside the09:47:23-18/04 zebraidx(21663) [warn] Index 'any' not found in attset(s)

Really appreciate your helps.
 
Regards,

--- On Fri, 15/4/11, Tomas Cohen Arazi <tomascohen at gmail.com> wrote:


From: Tomas Cohen Arazi <tomascohen at gmail.com>
Subject: Re: [Koha] Zebra: only can index in XML format. Please help.
To: "hoa lean" <anhoale at yahoo.com>
Cc: "Chris Cormack" <chrisc at catalyst.net.nz>, koha at lists.katipo.co.nz
Received: Friday, 15 April, 2011, 6:42 PM


2011/4/14 hoa lean <anhoale at yahoo.com>
>
> Thank you Chris,
>
>
>
> I run as you suggested, but still cannot use the Authority Search.
[snip]
>
> 13:09:59-15/04 zebraidx(12757) [log] config /etc/koha/zebradb/zebra-authorities-dom.cfg

Try editing your '/etc/koha/koha-conf.xml' file and replace inside the section

<server id="authorityserver"  listenref="authorityserver" >

this way:
<config>/etc/koha_bmayor/zebradb/zebra-authorities-dom.cfg</config>
with
<config>/etc/koha_bmayor/zebradb/zebra-authorities.cfg</config>

and:
<xi:include href="/etc/koha_bmayor/zebradb/retrieval-info-auth-dom.xml"
with
<xi:include href="/etc/koha_bmayor/zebradb/retrieval-info-auth-grs1.xml"


And then reindex and try your search again.

Regards
To+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20110417/45625931/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koha-conf.xml
Type: text/xml
Size: 8836 bytes
Desc: not available
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20110417/45625931/attachment-0002.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zebra-biblios.cfg
Url: http://lists.katipo.co.nz/pipermail/koha/attachments/20110417/45625931/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zebra-authorities.cfg
Url: http://lists.katipo.co.nz/pipermail/koha/attachments/20110417/45625931/attachment-0003.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: retrieval-info-auth-grs1.xml
Type: text/xml
Size: 1705 bytes
Desc: not available
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20110417/45625931/attachment-0003.bin 


More information about the Koha mailing list