-# $Id: cqlsample,v 1.2 2004-03-10 18:50:56 adam Exp $
+# $Id: cqlsample,v 1.3 2008-01-06 13:08:09 adam Exp $
# CQL queries for testing.
# from http://www.loc.gov/z3950/agency/zing/cql/sample-queries.html
# Simple Term
# Index Relation Term
title = "fish"
-title exact fish
+title == fish
title any fish
title all fish
title > 9
dc.fish all/stem/fuzzy "fish chips"
(title any frog)
((dc.title any/stem "frog pond"))
-dc.title scr "fish frog chicken"
+dc.title = "fish frog chicken"
dc.title =/rel.algorithm=CORI squid
creator any/f.foo/b.bar>1 "sanderson taylor"
cat prox/distance<3 hat
"fish food" prox/unit=sentence and
title all "chips frog" prox/distance<=5 exact
-(dc.author exact "jones" prox/distance>5/unit=element title >= "smith")
+(dc.author == "jones" prox/distance>5/unit=element title >= "smith")
a and/rel.SumOfScores b
a and/rel.algorithm=CORI b
# Lame Searches
-any or all:stem and all exact any prox prox=fuzzy
+any or all:stem and all == any prox prox=fuzzy
(((((((((any)))))))))
""
> any > any = exact any > any