[Koha-devel] Zebra: the 'elements zebra::snippet' doesn't work

David Cook dcook at prosentient.com.au
Tue Jan 26 23:55:49 CET 2016


Hi Zeno,

That's pretty strange. I'm using Zebra 2.0.60, and the zebra::* elements
work fine on openSUSE. 

"<install_path>/etc/zebradb/retrieval-info-bib-dom.xml" is an interesting
filepath. You installed Koha with the Debian Packages, yes? Historically,
that filepath has been something like
/etc/koha/marc21-retrieval-info-bib-dom.xml (I imagine there might be a
similar unimarc one although unimarc installs might use the marc21 one
anyway). While bug 12216 changed the Debian Koha Zebra profile path to "
profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/
koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/
etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl", that
might not be relevant in your case if you're not using the packaged Koha. 

Are you using a Gitified Koha or a Git Dev install of Koha? My Git Dev
install has something like
"/home/dcook/koha-dev/etc/zebradb/retrieval-info-bib-dom.xsl".

Did you load an old Koha configuration and database? Or did you start fresh?
You might need to do a Zebra re-index and a Zebra re-start. 

Nothing in the Zebra changelog (http://www.indexdata.com/zebra/doc/NEWS)
suggests that the zebra::* elements have been removed. Are you able to do
normal searches in Koha or yaz-client?

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St, Ultimo, NSW 2007

> -----Original Message-----
> From: koha-devel-bounces at lists.koha-community.org [mailto:koha-devel-
> bounces at lists.koha-community.org] On Behalf Of Tajoli Zeno
> Sent: Wednesday, 27 January 2016 4:03 AM
> To: Tomas Cohen Arazi <tomascohen at gmail.com>
> Cc: koha-devel <koha-devel at lists.koha-community.org>
> Subject: Re: [Koha-devel] Zebra: the 'elements zebra::snippet' doesn't
work
> 
> Hi Tomas,
> 
> Il 26/01/2016 17:21, Tomas Cohen Arazi ha scritto:
> > You need to check if you are actually using the
> > etc/zebradb/retrieval-info-bib-dom.xml file. Maybe is using a
> > different one, without the  <retrieval syntax="xml" name="zebra::*"/>
> line.
> 
> I read koha-conf.xml and I find:
> <xi:include href="<install_path>/etc/zebradb/retrieval-info-bib-dom.xml"
> xmlns:xi="http://www.w3.org/2001/XInclude"/>
> 
> this is the path to the correct retrieval-info-bib-dom.xml file.
> This file has the line "<retrieval syntax="xml" name="zebra::*"/>"
> 
> Could I check samething else ^
> 
> Bye
> Zeno Tajoli
> 
> --
> Zeno Tajoli
> / SVILUPPO PRODOTTI/ - Automazione Biblioteche
> Email: z.tajoli at cineca.it Fax: 051/6132198
> *CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI)
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/ git : http://git.koha-
> community.org/ bugs : http://bugs.koha-community.org/




More information about the Koha-devel mailing list