X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fregression%2Fqueries.raw;fp=test%2Fregression%2Fqueries.raw;h=d66155784ddac9e7793f0c80b33fc5f64a2188ba;hb=e65abb32074bc06d07f5c3c4acb28103c1f9faf2;hp=67daa489b35c783d06782ce7db5947d64f191f11;hpb=b8a3e097b6ce2a08137e9eba5c6bcbdf9050e9dd;p=cql-java-moved-to-github.git 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"