]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1687649 Z39.50 CQL query parser honors bools
authorBill Erickson <berickxx@gmail.com>
Tue, 2 May 2017 15:51:12 +0000 (11:51 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 8 May 2017 13:13:26 +0000 (09:13 -0400)
commitd8715b95d8632d93739e7acfe19783e3b4b325e7
treedff327b4337f51bf7c1a6aea2f62997a7998e637
parent4ee417ec7773f7771a2461d6f4eb1dfa3a65f6f4
LP#1687649 Z39.50 CQL query parser honors bools

To test with yaz-client, Z server on localhost, database=evergreen:

Z> open localhost:2210/evergreen
Z> find @or @attr 1=4 @attr 4=6 "potter" @attr 1=4 @attr 4=6 "piano"

"Number of hits:" value should be greater than zero (~38) using the
concerto data set.

Similarly, opensrf logs should contain the line:

SRU search string [(title = potter or title = piano)] converted to
[title:potter || title:piano]

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm