X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Ftools.xml;h=9ca9e2470cd140096cfbc15ac00a24d5b5974e7a;hb=69d044abe3d3a3560267a16dc4db13386974d5e1;hp=d47683fc1d4dbb6bbe05dee6975880f0cb359a1e;hpb=21f7c16c6b1b694405dbc1760d3d6cb3caac38f6;p=yaz-moved-to-github.git diff --git a/doc/tools.xml b/doc/tools.xml index d47683f..9ca9e24 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1,4 +1,4 @@ - + Supporting Tools @@ -301,7 +301,8 @@ PQF queries - PQF queries using simple terms + + PQF queries using simple terms dylan @@ -310,7 +311,8 @@ - PQF boolean operators + + PQF boolean operators @or "dylan" "zimmerman" @@ -321,7 +323,8 @@ - PQF references to result sets + + PQF references to result sets @set Result-1 @@ -330,7 +333,8 @@ - Attributes for terms + + Attributes for terms @attr 1=4 computer @@ -345,7 +349,8 @@ - PQF Proximity queries + + PQF Proximity queries @prox 0 3 1 2 k 2 dylan zimmerman @@ -384,14 +389,16 @@ - PQF specification of search term + + PQF specification of search term type @term string "a UTF-8 string, maybe?" - PQF mixed queries + + PQF mixed queries @or @and bob dylan @set Result-1 @@ -439,7 +446,8 @@ license, it is included as a supplement to &yaz;. - CCL Syntax + + CCL Syntax The CCL parser obeys the following grammar for the FIND argument. @@ -488,7 +496,8 @@ - CCL queries + + CCL queries The following queries are all valid: @@ -522,7 +531,8 @@ - CCL Qualifiers + + CCL Qualifiers Qualifiers are used to direct the search to a particular searchable @@ -544,7 +554,8 @@ lines in a CCL profile: qualifier specification, qualifier alias, comments and directives. - Qualifier specification + + Qualifier specification A qualifier specification is of the form: @@ -569,7 +580,8 @@ or c for completeness. The attributes for the special qualifier name term are used when no CCL qualifier is given in a query. - Common Bib-1 attributes +
+ Common Bib-1 attributes @@ -648,7 +660,8 @@ which are used in combination with certain types. The special combinations are: -
Special attribute combos +
+ Special attribute combos @@ -734,7 +747,7 @@
- CCL profile + CCL profile Consider the following definition: @@ -779,7 +792,8 @@
- Qualifier alias + + Qualifier alias A qualifier alias is of the form: @@ -796,20 +810,23 @@ - Comments + + Comments Lines with white space or lines that begin with character # are treated as comments. - Directives + + Directives Directive specifications takes the form @directive value - CCL directives +
+ CCL directives @@ -873,7 +890,8 @@
- CCL API + + CCL API All public definitions can be found in the header file ccl.h. A profile identifier is of type @@ -936,7 +954,7 @@ struct ccl_rpn_node *ccl_find_str (CCL_bibset bibset, const char *str, - CQL + CQL CQL - Common Query Language - was defined for the @@ -986,7 +1004,7 @@ struct ccl_rpn_node *ccl_find_str (CCL_bibset bibset, const char *str, - CQL parsing + CQL parsing A CQL parser is represented by the CQL_parser handle. Its contents should be considered &yaz; internal (private). @@ -1032,7 +1050,7 @@ int cql_parser_stdio(CQL_parser cp, FILE *f); - CQL tree + CQL tree The the query string is valid, the CQL parser generates a tree representing the structure of the @@ -1136,7 +1154,7 @@ struct cql_node { - CQL to PQF conversion + CQL to PQF conversion Conversion to PQF (and Z39.50 RPN) is tricky by the fact that the resulting RPN depends on the Z39.50 target @@ -1218,7 +1236,7 @@ int cql_transform_FILE(cql_transform_t ct, open FILE. - + Specification of CQL to RPN mappings The file supplied to functions @@ -1369,7 +1387,7 @@ int cql_transform_FILE(cql_transform_t ct, - CQL to RPN mapping file + CQL to RPN mapping file This simple file defines two context sets, three indexes and three relations, a position pattern and a default structure. @@ -1424,7 +1442,7 @@ int cql_transform_FILE(cql_transform_t ct, - CQL to XCQL conversion + CQL to XCQL conversion Conversion from CQL to XCQL is trivial and does not require a mapping to be defined. @@ -1950,7 +1968,7 @@ typedef struct oident - MARC + MARC YAZ provides a fast utility that decodes MARC records and @@ -2038,7 +2056,7 @@ typedef struct oident stores the resulting record in a WRBUF handle (WRBUF is a simple string type). - + Display of MARC record The followint program snippet illustrates how the MARC API may