Zebra: the 'elements zebra::snippet' doesn't work
Hi all, I trying to check my indexes in Zebra. My setup: OS: Debian jessie Koha: 3.20.7 [manual install] Zebra: 2.0.61 [install from IndexData repo] Format: UNIMARC Probably the fact that I use unimarc is relevant but I don't understand where. I do the debug described here: http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#Why_does_a_search_... The result of a working search is: Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo 'zebra::snippet' but my ../etc/zebradb/retrieval-info-bib-dom.xml is correct: <?xml version="1.0" encoding="UTF-8"?> <retrievalinfo xmlns="http://indexdata.com/yaz"> <retrieval syntax="unimarc" name="F"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="unimarc" name="B"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="xml" /> <retrieval syntax="xml" name="index"/> <retrieval syntax="xml" name="marc" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="marcxml" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="zebra::*"/> </retrievalinfo> Do I need to check in other places for the setup of ' zebra::snippet' ? 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)
Maybe they just removed the zebra::snippet elem? 2016-01-26 12:54 GMT-03:00 Tajoli Zeno <z.tajoli@cineca.it>:
Hi all,
I trying to check my indexes in Zebra. My setup: OS: Debian jessie Koha: 3.20.7 [manual install] Zebra: 2.0.61 [install from IndexData repo] Format: UNIMARC
Probably the fact that I use unimarc is relevant but I don't understand where. I do the debug described here:
http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#Why_does_a_search_...
The result of a working search is:
Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo 'zebra::snippet'
but my ../etc/zebradb/retrieval-info-bib-dom.xml is correct:
<?xml version="1.0" encoding="UTF-8"?> <retrievalinfo xmlns="http://indexdata.com/yaz"> <retrieval syntax="unimarc" name="F"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="unimarc" name="B"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="xml" /> <retrieval syntax="xml" name="index"/> <retrieval syntax="xml" name="marc" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="marcxml" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="zebra::*"/> </retrievalinfo>
Do I need to check in other places for the setup of ' zebra::snippet' ?
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/
-- Tomás Cohen Arazi Theke Solutions (http://theke.io) ✆ +54 9351 3513384 GPG: B2F3C15F
Hi to all,
Maybe they just removed the zebra::snippet elem?
I try also Z> format xml Z> elements zebra::data Z> base biblios Z> f git Z> show 1 The result is the same: Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000759 So it is something differnt. Bye Zeno Tajoli Hi all, I trying to check my indexes in Zebra. My setup: OS: Debian jessie Koha: 3.20.7 [manual install] Zebra: 2.0.61 [install from IndexData repo] Format: UNIMARC Probably the fact that I use unimarc is relevant but I don't understand where. I do the debug described here: http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#Why_does_a_search_... The result of a working search is: Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo 'zebra::snippet' but my ../etc/zebradb/retrieval-info-bib-dom.xml is correct: <?xml version="1.0" encoding="UTF-8"?> <retrievalinfo xmlns=" http://indexdata.com/yaz "> <retrieval syntax="unimarc" name="F"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="unimarc" name="B"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="xml" /> <retrieval syntax="xml" name="index"/> <retrieval syntax="xml" name="marc" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="marcxml" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="zebra::*"/> </retrievalinfo> Do I need to check in other places for the setup of ' zebra::snippet' ? 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/ -- Tomás Cohen Arazi Theke Solutions ( http://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F
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. 2016-01-26 13:19 GMT-03:00 Zeno Tajoli <z.tajoli@cineca.it>:
Hi to all,
Maybe they just removed the zebra::snippet elem?
I try also Z> format xml Z> elements zebra::data Z> base biblios Z> f git Z> show 1
The result is the same: Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000759
So it is something differnt.
Bye Zeno Tajoli
Hi all,
I trying to check my indexes in Zebra. My setup: OS: Debian jessie Koha: 3.20.7 [manual install] Zebra: 2.0.61 [install from IndexData repo] Format: UNIMARC
Probably the fact that I use unimarc is relevant but I don't understand where. I do the debug described here:
http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#Why_does_a_search_...
The result of a working search is:
Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo 'zebra::snippet'
but my ../etc/zebradb/retrieval-info-bib-dom.xml is correct:
<?xml version="1.0" encoding="UTF-8"?> <retrievalinfo xmlns=" http://indexdata.com/yaz "> <retrieval syntax="unimarc" name="F"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="unimarc" name="B"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="xml" /> <retrieval syntax="xml" name="index"/> <retrieval syntax="xml" name="marc" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="marcxml" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="zebra::*"/> </retrievalinfo>
Do I need to check in other places for the setup of ' zebra::snippet' ?
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/
--
Tomás Cohen Arazi Theke Solutions ( http://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F
-- Tomás Cohen Arazi Theke Solutions (http://theke.io) ✆ +54 9351 3513384 GPG: B2F3C15F
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@cineca.it Fax: 051/6132198 *CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI)
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@lists.koha-community.org [mailto:koha-devel- bounces@lists.koha-community.org] On Behalf Of Tajoli Zeno Sent: Wednesday, 27 January 2016 4:03 AM To: Tomas Cohen Arazi <tomascohen@gmail.com> Cc: koha-devel <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Zebra: the 'elements zebra::snippet' doesn't work
Hi Tomas,
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::*"/>
Il 26/01/2016 17:21, Tomas Cohen Arazi ha scritto: 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@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/
Hi David and all,
That's pretty strange. I'm using Zebra 2.0.60, and the zebra::* elements work fine on openSUSE.
this installation is Zebra 2.0.61. on Debian Jessie
"<install_path>/etc/zebradb/retrieval-info-bib-dom.xml" is an interesting filepath. [...] 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".
It is a Git Dev install of Koha. So insert '<install_path>' in the mail because is out of standard place
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.
Are you able to do normal searches in Koha or yaz-client?
In fact yes, I can do normal searches with Koha Opac and with yaz-client. Bye Zeno Tajoli
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)
Sounds like a good idea asking on the Zebra listserv. I'm also planning on doing a Debian 8 Jessie install today or tomorrow, so I'll take a look at this myself too. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St, Ultimo, NSW 2007
-----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)
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 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)
-----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/
On Tue, Jan 10, 2017 at 5:33 PM, David Cook <dcook@prosentient.com.au> wrote:
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.
Nice. Does IndexData have a public bug tracker? If so, is there a bug number or URL? --Barton
As far as I know, IndexData do not have a public bug tracker. However, there is a bug number (YAZ-877) and you can see the commit on their public Github repo: https://github.com/indexdata/yaz/commit/10d18aeface65a0fed00560ec69a00a3b193.... You can also correlate that with the changelog on the IndexData website: http://www.indexdata.com/yaz/doc/NEWS. In the changelog, it mentions that the fix for YAZ-877 should fix https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17871. I wish that IndexData had a public bug tracker, or some way of submitting bug reports other than emailing Adam directly. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: Barton Chittenden [mailto:barton@bywatersolutions.com] Sent: Wednesday, 11 January 2017 6:19 PM To: David Cook <dcook@prosentient.com.au> Cc: Tajoli Zeno <z.tajoli@cineca.it>; koha-devel <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Zebra: the 'elements zebra::snippet' doesn't work On Tue, Jan 10, 2017 at 5:33 PM, David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> > wrote: 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. Nice. Does IndexData have a public bug tracker? If so, is there a bug number or URL? --Barton
----- Messaggio originale ----- Da: "Tomas Cohen Arazi" <tomascohen@gmail.com> A: "Zeno Tajoli" <z.tajoli@cineca.it> Cc: "koha-devel" <koha-devel@lists.koha-community.org> Inviato: Martedì, 26 gennaio 2016 17:21:16 Oggetto: Re: [Koha-devel] Zebra: the 'elements zebra::snippet' doesn't work 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. 2016-01-26 13:19 GMT-03:00 Zeno Tajoli < z.tajoli@cineca.it > : Hi to all,
Maybe they just removed the zebra::snippet elem?
I try also Z> format xml Z> elements zebra::data Z> base biblios Z> f git Z> show 1 The result is the same: Sent presentRequest (1+1). Records: 1 Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo '' nextResultSetPosition = 2 Elapsed: 0.000759 So it is something differnt. Bye Zeno Tajoli Hi all, I trying to check my indexes in Zebra. My setup: OS: Debian jessie Koha: 3.20.7 [manual install] Zebra: 2.0.61 [install from IndexData repo] Format: UNIMARC Probably the fact that I use unimarc is relevant but I don't understand where. I do the debug described here: http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#Why_does_a_search_... The result of a working search is: Diagnostic message(s) from database: [25] Specified element set name not valid for specified database -- v2 addinfo 'zebra::snippet' but my ../etc/zebradb/retrieval-info-bib-dom.xml is correct: <?xml version="1.0" encoding="UTF-8"?> <retrievalinfo xmlns=" http://indexdata.com/yaz "> <retrieval syntax="unimarc" name="F"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="unimarc" name="B"> <backend syntax="xml" name="marc"> <marc inputformat="xml" outputformat="marc" inputcharset="utf-8" outputcharset="utf-8"/> </backend> </retrieval> <retrieval syntax="xml" /> <retrieval syntax="xml" name="index"/> <retrieval syntax="xml" name="marc" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="marcxml" identifier="info:srw/schema/1/marcxml-v1.1"/> <retrieval syntax="xml" name="zebra::*"/> </retrievalinfo> Do I need to check in other places for the setup of ' zebra::snippet' ? 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/ -- Tomás Cohen Arazi Theke Solutions ( http://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F -- Tomás Cohen Arazi Theke Solutions ( http://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F
participants (5)
-
Barton Chittenden -
David Cook -
Tajoli Zeno -
Tomas Cohen Arazi -
Zeno Tajoli