[Koha-devel] How do I disable PazPar2 in Koha 3 Beta 2?

Ricardo Dias Marques lists at ricmarques.net
Wed May 14 20:49:08 CEST 2008


Hi Frederic,

Many thanks for your useful feedback! My comments and questions follow inline:

On Wed, May 14, 2008 at 6:32 PM, Frederic Demians <frederic at tamil.fr> wrote:

> > 18:01:28-14/05 zebraidx(22552) [warn] Index 'char-encoding' not found
> > in attset(s)
> > 18:01:28-14/05 zebraidx(22552) [warn] Index 'char-encoding' not found
> > in attset(s)
> > 18:01:28-14/05 zebraidx(22552) [warn] Index 'script-Title' not found
>
>  Etc. There is something wrong in your Zebra configuration (obviously).
> Check koha-conf.xml. A correct record.abs must be targeted.

Thanks for the tip. I have searched for the string "record.abs"
(without the quotes) in the /etc/koha/koha-conf.xml  There's no
occurrence of it. What I do have regarding Zebra is this:

__________

<!-- BIBLIOGRAPHIC RECORDS -->
<server id="biblioserver"  listenref="biblioserver">
    <directory>/var/lib/koha/zebradb/biblios</directory>
    <config>/etc/koha/zebradb/zebra-biblios.cfg</config>
    <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
__________


Should the "record.abs" string appear in the koha-conf.xml file? In
what directive should record.abs appear?

The /etc/koha/zebradb/zebra-biblios.cfg file only mentions record.abs
in a comment:

__________

# Koha uses grs.xml internally when updating a single record, no idea
# why it knows to use record.abs
recordType:grs.xml
__________



This reminds me of two other pieces of information that may be relevant:

1 - The Zebra that I have installed is the one that is available with
openSUSE 10.3, which is Zebra 2.0.14:

# rpm -qa | grep zebra
idzebra-2.0.14-33
idzebra-devel-2.0.14-33


2 - During the Koha installation, I have said that I wanted to use the
DOM XML filter as an indexing mode for MARC authorities records
(instead of using the default option of the GRS-1 filter):

__________

Koha can use one of  two different indexing modes
for the MARC authorities records:

grs1 - uses the Zebra GRS-1 filter, available
       for legacy support
dom  - uses the DOM XML filter; offers improved
       functionality.

Authorities indexing mode (dom, grs1) [grs1] dom
__________



I have found the following page regarding a patch sent by Paul
Poulain, on 14-Apr-2008, that seems to apply to the record.abs file
for UNIMARC (and I am using UNIMARC):

[Koha-patches] [PATCH] removing some spaces in record.abs, that make
the file invalid for Zebra
http://lists.koha.org/pipermail/koha-patches/2008-April/000130.html

__________

From: Paul POULAIN <paul.poulain at biblibre.com>

---
 etc/zebradb/marc_defs/unimarc/biblios/record.abs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

__________


Considering that this patch was submitted *after* the release date of
Koha 3 Beta 2 (which has "launched" on 5-Apr-2008), I'm thinking that
I may be being affected by the bug corrected by this patch. Am I
right?


> > 18:01:28-14/05 zebraidx(22552) [log] Records: 0 i/u/d 0/0/0
>
>  Which means 0 insert, 0 update, 0 delete, and so you have nothing to search
> in your Zebra indexes.

OK. I must admit that I did NOT know that. Thank you also for that information!


Best wishes,
Ricardo Dias Marques
lists AT ricmarques DOT net



More information about the Koha-devel mailing list