User Tools

Site Tools


evergreen-admin:sru_and_z39.50

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
evergreen-admin:sru_and_z39.50 [2025/06/13 14:21] stomproevergreen-admin:sru_and_z39.50 [2025/06/16 12:24] (current) stompro
Line 109: Line 109:
   - As root, run simple2ZOOM as a daemon, specifying the configuration files and one or more listener addresses that the Z39.50 server will be accessible on. If you do not specify a port, it will automatically run on port 9999. In the following example, we tell it to listen both to localhost on port 2210, and on dev.gapines.org on port 210:<code bash>   - As root, run simple2ZOOM as a daemon, specifying the configuration files and one or more listener addresses that the Z39.50 server will be accessible on. If you do not specify a port, it will automatically run on port 9999. In the following example, we tell it to listen both to localhost on port 2210, and on dev.gapines.org on port 210:<code bash>
 simple2zoom -c dgo.conf -- -f xml2marc-yaz.cfg localhost:2210 dev.gapines.org:210 &</code> simple2zoom -c dgo.conf -- -f xml2marc-yaz.cfg localhost:2210 dev.gapines.org:210 &</code>
 +
 +====Testing the Z39.50 server - RPN Searches====
  
 To test the Z39.50 server, we can use yaz-client again:<code> To test the Z39.50 server, we can use yaz-client again:<code>
Line 122: Line 124:
 Elapsed: 0.010718 Elapsed: 0.010718
 Z> format xml Z> format xml
-Z> find "dc.title=zone and dc.author=king" +(Server Default Search, usually keyword)
-Sent searchRequest. +
-Received SearchResponse. +
-Search was a success. +
-Number of hits: 0setno 4 +
-records returned: 0 +
-Elapsed: 0.611432+
 Z> find "dead zone" Z> find "dead zone"
 Sent searchRequest. Sent searchRequest.
Line 150: Line 146:
 records returned: 0 records returned: 0
 Elapsed: 0.201841 Elapsed: 0.201841
 +</code>
 +
 +====Testing the Z39.50 server with CQL Queries====
 +
 +You can test out CQL queries against Z39.50 servers with the yaz client, but you need
 +to setup a mapping file to convert CQL to RPN queries.
 +
 +
 +<code>
 +Z> find "dc.title=zone and dc.author=king"
 +Sent searchRequest.
 +Received SearchResponse.
 +Search was a success.
 +Number of hits: 0, setno 4
 +records returned: 0
 +Elapsed: 0.611432
 </code> </code>
  
evergreen-admin/sru_and_z39.50.1749838864.txt.gz · Last modified: 2025/06/13 14:21 by stompro

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.