Koha Croatian user group
Z39.50: Revision 10

Server

služi za razmjenu zapisa

Konfiguracija

u /etc/koha-conf.xml odkomentirati publicserver i izbrisati listenref:

--- /etc/koha/koha-conf.xml.before-z39.50       2009-12-01 20:54:58.000000000 +0100
+++ /etc/koha/koha-conf.xml     2009-12-01 20:55:19.000000000 +0100
@@ -7,7 +7,7 @@
 <listen id="biblioserver" >unix:/var/run/koha/zebradb/bibliosocket</listen>
 <listen id="authorityserver" >unix:/var/run/koha/zebradb/authoritysocket</listen>
 <!-- public server runs on tcp -->
-<!-- <listen id="publicserver" >tcp:@:9999</listen> -->
+<listen id="publicserver" >tcp:@:9999</listen>
 
 <!-- Settings for special biblio server instance for PazPar2.
      Because PazPar2 only connects to a Z39.50 server using TCP/IP,
@@ -23,7 +23,7 @@
 -->
 
 <!-- BIBLIOGRAPHIC RECORDS -->
-<server id="biblioserver"  listenref="biblioserver"> 
+<server id="biblioserver">
     <directory>/var/lib/koha/zebradb/biblios</directory>
     <config>/etc/koha/zebradb/zebra-biblios.cfg</config>
     <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>

diff: public-z39.50.diff

Dokumentacija

Najkorisnije:

Ostalo:

FFZG

yaz-client

dpavlin@koha-dev:~$ yaz-client 
Z> open localhost:9999/biblios
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID     : 81
Name   : Zebra Information Server/GFS/YAZ
Version: 3.0.52 e687cb7eb87c841f0d1a374174d51d30371f2d97
Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets
Elapsed: 1.605266
Z> find human
Z> show 1
Z> quit
See you later, alligator.

Use Koha's CCL queries:

dpavlin@koha-dev:~$ yaz-client -c /etc/koha/zebradb/ccl.properties localhost:9999/biblios
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID     : 81
Name   : Zebra Information Server/GFS/YAZ
Version: 4.1.7 c43e561fdfe12989a6040163dae0e28ba0a02453
Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets
Elapsed: 0.001445
Z> querytype ccl2rpn
Z> find (kw,wrdl,rtrn=human ) not Suppress=1
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1935, setno 1
SearchResult-1: term=    human cnt=1935, term=    1 cnt=21
records returned: 0
Elapsed: 0.025643
Z>