-# Simple
+
+# Simple
cat
"cat"
"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/=/3/word/ordered hat
cat prox//3 hat
-"fish food" prox///sentence "and"
-title all "chips frog" prox//5/word "any"
-(dc.author exact "jones" prox//5 title >= "smith")
+"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
# Lame searches
-"any" or "all:stem" and "all" exact "any" prox///word "prox"="fuzzy"
-((((((((("any")))))))))
-
+any or all:stem and all exact any prox prox=fuzzy
+(((((((((any)))))))))
+("")
# Invalid searches [should error]
>
===
cat or
-index any
+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)
+title = ("illegal parentheses")
+"quoted" any "illegal quotes"