I have what may be a silly question. I’ve been thinking that adding a check against z39.50 should be part of my regular routine, rather than just verifying that the service is working. Do you do this test from internally or from a server that is external to your network? Would there be a benefit from running it externally other than verifying the port is open?
-Jon

On Fri, Jun 13, 2025 at 12:28 PM Josh Stompro via Evergreen-dev <evergreen-dev@list.evergreen-ils.org> wrote:
Hello, I've been making use of the wiki documentation at 
https://wiki.evergreen-ils.org/doku.php?id=evergreen-admin:sru_and_z39.50
when I need to setup and test the Z39.50 server.

There is a section for testing the Z39.50 server using the yaz-client.  But it always confuses me because the example shows example searches that don't work.  And there wasn't an example that shows how to search using Z39.50 bib attributes. (I added one).

I would like to remove the examples of non working searches, unless it is just something that I'm doing wrong.

It seems to me that CQL search syntax doesn't work for Z39.50, that only works for SRU.  RPL is the only search syntax that works.

So the example of
Z> find "dc.title=zone and dc.author=king"
is in CQL but gets sent as a server choice search for the keywords "dc.title=zone and dc.author=king" and doesn't return anything.

The next example of 
Z> find "dead zone"  returns results because it gets sent as a serverchoice query which is keyword by default.

Jun 13 14:21:10 virt-egutil2 z3950[1886134]: search: translated '@attrset Bib-1 "dead zone"' to '"dead zone"'
Jun 13 14:21:10 virt-egutil2 z3950[1886134]: 14:21:10-13/06 simple2zoom(502) [request] Search LARL OK 5 3 1+0 RPN @attrset Bib-1 "dead zone"
[2025-06-13 14:21:10] /usr/sbin/apache2 [INFO:243740:SuperCat.pm:2002:1749790802243740321] SRU search string ["dead zone"] converted to [(srw.serverchoice:"dead zone") site:LARL]

Is my understanding correct?  Does it make sense to remove that CQL example?
Josh

Company logo
Josh Stompro
IT Director
stomproj@gsuite.larl.org | 218-233-3757 ext. 139 | 218-790-2110
Lake Agassiz Regional Library 
118 5th ST S
Moorhead MN 56560
www.larl.org
Our mission is to enrich lives and strengthen communities.
_______________________________________________
Evergreen-dev mailing list -- evergreen-dev@list.evergreen-ils.org
To unsubscribe send an email to evergreen-dev-leave@list.evergreen-ils.org