X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Fcql2pqfsample;fp=test%2Fcql2pqfsample;h=a11bbd406afb14f9602adb005c39b1640819ac77;hp=166bccaac1030e4db209e835060915cc81111a29;hb=135a70856fc99547451ea919da242e7e7382acea;hpb=c508282c3e52e145f998d0bb85c0ea6b36fe956c diff --git a/test/cql2pqfsample b/test/cql2pqfsample index 166bcca..a11bbd4 100644 --- a/test/cql2pqfsample +++ b/test/cql2pqfsample @@ -1,18 +1,15 @@ # CQL queries for testing. -# from http://www.loc.gov/z3950/agency/zing/cql/sample-queries.html +# Read by test_cql2pqf.sh +# No blank lines! +# # Simple Term - a a b "a b" - # Index Relation Term - title = fish dc.title = fish - # Simple Boolean - cat or dog cat and fish cat not frog @@ -22,4 +19,21 @@ xml and "prox///" fred and any ((fred or all)) a or b and c not d - +# Masking/Truncation +*a +a* +*a* +a*a +?a +a? +?a? +a?a +a#a? +*a# +a#a* +a*3 +# Escape sequences (sh reads one slash, though) +a*\\3 +\\*a# +\\*a*b# +\\"