-----Original Message----- From: koha-devel-bounces@lists.koha-community.org [mailto:koha-devel- bounces@lists.koha-community.org] On Behalf Of David Cook Sent: Tuesday, 10 January 2017 12:06 PM To: 'Tajoli Zeno' <z.tajoli@cineca.it> Cc: 'koha-devel' <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Zebra: the 'elements zebra::snippet' doesn't work
I have a solution for this.
I feel like I've shared the solution before, but I can't find a record of it, so I've opened the bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17871 and I'm sharing it here.
The bug report has most of the details, so I'll just summarize by saying
I've received a reply from Adam at IndexData. He's looked into the problem and has added a fix as part of YAZ 5.20.0. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 that I
think there's in YAZ introduced in version 5.8.1, but we can workaround it by changing our Zebra configuration.
If we remove the line <retrieval syntax="xml" name="zebra::*" /> and restart Zebra, you should be able to use zebra::snippet and zebra::facet. At the moment, with that line, we can't get facets from Zebra, as I think it causes some problems in YAZ and thus in Zebra. I'm going to get in touch with Indexdata about it.
In the meantime, I hope this is helpful.
David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia
Office: 02 9212 0899 Direct: 02 8005 0595
-----Original Message----- From: Tajoli Zeno [mailto:z.tajoli@cineca.it] Sent: Thursday, 28 January 2016 4:16 AM To: David Cook <dcook@prosentient.com.au> Cc: koha-devel <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Zebra: the 'elements zebra::snippet' doesn't work
Hi David and all,
Il 27/01/2016 06:19, Zeno Tajoli ha scritto:
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.
It is a start from fresh install and I do same Zebra re-index and a Zebra re- start. But now I try starting from a fresh debian 8 and I will say the result.
I finish my test about 'elements zebra::snippet'. I have done 4 different installation on debian 8 (jessie) In every case: Install type: koha-common OS: Debian 8 (jessie) Lang: en Koha versione: 3.20.7.1 (oldstable)
1)Zebra: 2.0.61. Repos: Indexdata and Koha. MARC type: MARC21 -- 'elements zebra::snippet' doesn't work
2)Zebra: 2.0.61. Repos: Indexdata and Koha. MARC type: UNIMARC -- 'elements zebra::snippet' doesn't work
3)Zebra: 2.0.59. Repos: Koha only. MARC type: MARC21 -- 'elements zebra::snippet' WORKS
4)Zebra: 2.0.59. Repos: Koha only. MARC type: UNIMARC -- 'elements zebra::snippet' WORKS
So the problem is not connect with MARC21/UNIMARC.
David says that on OpenSuse Zebra 2.0.60 is ok about 'elements zebra::snippet'.
It is not clear if it is a Debian 8 problem or an error on Zebra 2.0.61
I try to ask in Zebra mailing list.
Bye Zeno Tajoli
-- Zeno Tajoli / SVILUPPO PRODOTTI/ - Automazione Biblioteche Email: z.tajoli@cineca.it Fax: 051/6132198 *CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI)
_______________________________________________ Koha-devel mailing list Koha-devel@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/