evergreen-admin:sru_and_z39.50
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
evergreen-admin:sru_and_z39.50 [2025/06/13 14:21] – stompro | evergreen-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:< | - 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:< | ||
simple2zoom -c dgo.conf -- -f xml2marc-yaz.cfg localhost: | simple2zoom -c dgo.conf -- -f xml2marc-yaz.cfg localhost: | ||
+ | |||
+ | ====Testing the Z39.50 server - RPN Searches==== | ||
To test the Z39.50 server, we can use yaz-client again:< | To test the Z39.50 server, we can use yaz-client again:< | ||
Line 122: | Line 124: | ||
Elapsed: 0.010718 | Elapsed: 0.010718 | ||
Z> format xml | Z> format xml | ||
- | Z> find " | + | (Server Default |
- | Sent searchRequest. | + | |
- | Received SearchResponse. | + | |
- | Search | + | |
- | Number of hits: 0, setno 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 | ||
+ | </ | ||
+ | |||
+ | ====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. | ||
+ | |||
+ | |||
+ | < | ||
+ | Z> find " | ||
+ | Sent searchRequest. | ||
+ | Received SearchResponse. | ||
+ | Search was a success. | ||
+ | Number of hits: 0, setno 4 | ||
+ | records returned: 0 | ||
+ | Elapsed: 0.611432 | ||
</ | </ | ||
evergreen-admin/sru_and_z39.50.1749838864.txt.gz · Last modified: 2025/06/13 14:21 by stompro