From: mike Date: Tue, 19 Nov 2002 12:11:04 +0000 (+0000) Subject: Resync with Rob's sample query list: mostly prefix-mapping X-Git-Tag: v1.5~206 X-Git-Url: http://git.indexdata.com/?p=cql-java-moved-to-github.git;a=commitdiff_plain;h=e65abb32074bc06d07f5c3c4acb28103c1f9faf2 Resync with Rob's sample query list: mostly prefix-mapping --- diff --git a/test/regression/queries.raw b/test/regression/queries.raw index 67daa48..d661557 100644 --- a/test/regression/queries.raw +++ b/test/regression/queries.raw @@ -69,11 +69,18 @@ cat?dog (cat and dog) or (horse and frog) (cat and (horse or frog)) and chips +# Prefix Maps + +> 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 any or all:stem and all exact any prox prox=fuzzy (((((((((any))))))))) -("") +"" +> any > any = exact any > any # Invalid searches [should error] @@ -89,3 +96,5 @@ index any fish) (cat any dog or ()) title = ("illegal parentheses") "quoted" any "illegal quotes" +> illegal="urn:missingQuery" +"fish" and > illegal="urn:invalidPrefixLocation" "chips"