X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Fcql2pqfsample;h=e13cb7a8ff528f5930baf5da08407a1d707af91f;hp=8bc6a9629bfa867a3418ada39a9bb8456d208caa;hb=f1bbea81f533c0386482e7e8cf000b982bdd9eb8;hpb=a061444f080ca7a0319bc176b48b0e70e067de13 diff --git a/test/cql2pqfsample b/test/cql2pqfsample index 8bc6a96..e13cb7a 100644 --- a/test/cql2pqfsample +++ b/test/cql2pqfsample @@ -1,19 +1,15 @@ -# $Id: cql2pqfsample,v 1.1 2008-01-06 21:48:23 adam Exp $ # 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 @@ -23,4 +19,27 @@ 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# +\\" +@and +a^ +^a +^a^ +\\^ +^a\\^