Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
[yaz-moved-to-github.git] / test / cql2pqfsample
1 # CQL queries for testing.
2 # Read by test_cql2pqf.sh
3 # No blank lines!
4 #
5 # Simple Term
6 a
7 a b
8 "a b"
9 # Index Relation Term
10 title = fish
11 dc.title = fish
12 # Simple Boolean
13 cat or dog
14 cat and fish
15 cat not frog
16 (cat not frog)
17 "cat" not "fish food"
18 xml and "prox///"
19 fred and any
20 ((fred or all))
21 a or b and c not d 
22 # Masking/Truncation
23 *a
24 a*
25 *a*
26 a*a
27 ?a
28 a?
29 ?a?
30 a?a
31 a#a?
32 *a#
33 a#a*
34 a*3
35 # Escape sequences (sh reads one slash, though)
36 a*\\3
37 \\*a#
38 \\*a*b#
39 \\"
40 @and