1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
# CQL queries for testing.
# 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
(cat not frog)
"cat" not "fish food"
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
|