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

Zeno Tajoli z.tajoli at cineca.it
Tue Jan 26 22:20:08 CET 2016



----- Messaggio originale -----
Da: "Tomas Cohen Arazi" <tomascohen at gmail.com>
A: "Zeno Tajoli" <z.tajoli at cineca.it>
Cc: "koha-devel" <koha-devel at 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 at 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_return_that_result 

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 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/ 




-- 





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


More information about the Koha-devel mailing list