-# Simple
+
+# Simple
cat
"cat"
xml:element
"<xml:element>"
"="
-"prox/word/>=/5"
+"prox/>=/5/word"
("cat")
((dog))
+all
+prox
# index relation term
dc.fish all/stem/fuzzy "fish chips"
(title any frog)
((dc.title any/stem "frog pond"))
+dc.title scr "fish frog chicken"
# Simple Boolean
cat not frog
(cat not frog)
"cat" not "fish food"
-xml and "prox/word/"
+xml and "prox///"
+fred and any
+((fred or all))
a or b and c not d
# I/R/T plus Boolean
bath.author any fish and dc.title all "cat dog"
-(title any/stem "fish dog" or "and")
+(title any/stem "fish dog" or and)
# Prox
cat prox hat
-cat prox/word/=/3/ordered hat
-cat prox///3 hat
-"fish food" prox/sentence "and"
-title all "chips frog" prox/word//5 "any"
-(dc.author exact "jones" prox///5 title >= "smith")
+cat prox/=/3/word/ordered hat
+cat prox//3 hat
+"fish food" prox///sentence and
+title all "chips frog" prox/>=/5 exact
+(dc.author exact "jones" prox/</5/element title >= "smith")
((cat prox hat))
# Special characters
(cat and dog) or (horse and frog)
(cat and (horse or frog)) and chips
-# Lame searches
+# Prefix Maps
-"any" or "all:stem" and "all" exact "any" prox/word "prox"="fuzzy"
-((((((((("any")))))))))
+> foo="http://www.loc.gov/zing/cql/dc-indexes/" foo.title="fish"
+> "http://www.loc.gov/zing/cql/dc-indexes/" title="fish"
+> foo="http://www.loc.gov/zing/cql/dc-indexes" > ccg = "http://srw.o-r-g.org/indexSets/ccg/" foo.title="fish" and ccg.force=3
+# Lame searches
-# Invalid searches [should error]
+any or all:stem and all exact any prox prox=fuzzy
+(((((((((any)))))))))
+""
+> any > any = exact any > any
->
-===
-cat or
-index any
-index any/wrong term
-a prox/wrong b
-()
-(a
-index any fish)
-(cat any dog or ())
-fred and any
-((fred or all))
-sorry = (mike)