X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Ftools.xml;h=f82743623405a4a7b7ab56f8ed76491ba68933c1;hb=0718fd63660899964512631d1e246ded8e3d18d6;hp=bb7d90cc6786f4d9641bb5d383e583f4312f45d2;hpb=c63b8160e6b822d640a4e92ca4c3d5fb79828bbc;p=yaz-moved-to-github.git diff --git a/doc/tools.xml b/doc/tools.xml index bb7d90c..f827436 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1,4 +1,4 @@ - + Supporting Tools @@ -600,7 +600,7 @@ struct cql_node { struct cql_node *right; struct cql_node *modifiers; struct cql_node *prefixes; - } bool; + } boolean; struct { char *name; char *value; @@ -907,7 +907,7 @@ int cql_transform_FILE(cql_transform_t ct, This small file defines two index sets, three qualifiers and three relations, a position pattern and a default structure. - + + + With the mappings above, the CQL query + + computer + + is converted to the PQF: + + @attr 1=1016 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 "computer" + + by rules qualifier.srw.serverChoice, + relation.scr, structure.*, + position.any. + + + CQL query + + computer^ + + is rejected, since position.right is + undefined. + + + CQL query + + >my = "http://www.loc.gov/zing/cql/dc-indexes/v1.0/" my.title = x + + is converted to + + @attr 1=4 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 "x" + + CQL to XCQL conversion