LP#1687649 Z39.50 CQL query parser honors bools user/berick/lp1687649-z39-bools
authorBill Erickson <berickxx@gmail.com>
Tue, 2 May 2017 15:51:12 +0000 (11:51 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 2 May 2017 15:51:15 +0000 (11:51 -0400)
commit217deef09930e25f319aad05c62cdb5b33f2b48e
tree5f066379577433594e50d15c3c693effc2c89279
parent3e78c58976f5e635cb52fa14b0a6f01f47e1b599
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm