Improve test-harnesses and their associated scripts.
[cql-java-moved-to-github.git] / test / raw
1 # Simple
2
3 cat
4 "cat"
5 comp.os.linux
6 xml:element
7 "<xml:element>"
8 "="
9 "prox/word/>=/5"
10 ("cat")
11 ((dog))
12
13 # index relation term
14
15 title = "fish"
16 title exact fish
17 title any fish
18 title all fish
19 title > 9
20 title >= 23
21 dc.title any "fish chips"
22 dc.title any/stem fish
23 dc.fish all/stem/fuzzy "fish chips"
24 (title any frog)
25 ((dc.title any/stem "frog pond"))
26
27 # Simple Boolean
28
29 cat or dog
30 cat and fish
31 cat not frog
32 (cat not frog)
33 "cat" not "fish food"
34 xml and "prox/word/"
35 fred and any
36 ((fred or all))
37 a or b and c not d
38
39 # I/R/T plus Boolean
40
41 bath.author any fish and dc.title all "cat dog"
42 (title any/stem "fish dog" or and)
43
44 # Prox
45
46 cat prox hat
47 cat prox/word/=/3/ordered hat
48 cat prox///3 hat
49 "fish food" prox/sentence and
50 title all "chips frog" prox/word//5 any
51 (dc.author exact "jones" prox///5 title >= "smith")
52 ((cat prox hat))
53
54 # Special characters
55 (cat^)
56 "cat"
57 "^cat says \"fish\""
58 "cat*fish"
59 cat?dog
60 (("^cat*fishdog\"horse?"))
61
62 # Nesting Parens
63
64 (((cat or dog) or horse) and frog)
65 (cat and dog) or (horse and frog)
66 (cat and (horse or frog)) and chips
67
68 # Lame searches
69
70 any or all:stem and all exact any prox/word prox=fuzzy
71 (((((((((any)))))))))
72
73
74 # Invalid searches [should error]
75
76 ^
77 >
78 ===
79 cat or
80 index any
81 index any/wrong term
82 a prox/wrong b
83 ()
84 (a
85 index any fish)
86 (cat any dog or ())
87 sorry = (mike)