X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Ftools.xml;h=1d79005aa4e9b89fd29175ca96f406b31d5c0fa3;hb=60f5103f542e3f6dd2e22b6df7015f7bc4b3a937;hp=ea838c72ca1ed994e8e7c578d0ade5b15b1f84f4;hpb=b6ed17b957403d2db0475df7759de72ce3eda2ee;p=yaz-moved-to-github.git diff --git a/doc/tools.xml b/doc/tools.xml index ea838c7..1d79005 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1,4 +1,4 @@ - + Supporting Tools @@ -225,7 +225,7 @@ @and. Its semantics are described in section 3.7.2 (Proximity) of Z39.50 the standard itself, which can be read on-line at - + In PQF, the proximity operation is represented by a sequence @@ -294,7 +294,7 @@ (The numeric values of the relation and well-known unit-code parameters are taken straight from - the ASN.1 of the proximity structure in the standard.) @@ -305,6 +305,7 @@ dylan + "bob dylan" @@ -313,7 +314,9 @@ @or "dylan" "zimmerman" + @and @or dylan zimmerman when + @and when @or dylan zimmerman @@ -322,7 +325,8 @@ @set Result-1 - @and @set seta setb + + @and @set seta @set setb @@ -330,9 +334,13 @@ @attr 1=4 computer + @attr 1=4 @attr 4=1 "self portrait" + @attrset exp1 @attr 1=1 CategoryList + @attr gils 1=2008 Copenhagen + @attr 1=/book/title computer @@ -632,10 +640,8 @@ - The complete list of Bib-1 attributes can be found - - here - . + Refer to the complete + list of Bib-1 attributes It is also possible to specify non-numeric attribute values, @@ -932,10 +938,9 @@ struct ccl_rpn_node *ccl_find_str (CCL_bibset bibset, const char *str, CQL - CQL + CQL - Common Query Language - was defined for the - SRW - protocol. + SRW protocol. In many ways CQL has a similar syntax to CCL. The objective of CQL is different. Where CCL aims to be an end-user language, CQL is the protocol @@ -944,8 +949,7 @@ struct ccl_rpn_node *ccl_find_str (CCL_bibset bibset, const char *str, If you are new to CQL, read the - Gentle - Introduction. + Gentle Introduction. @@ -972,8 +976,7 @@ struct ccl_rpn_node *ccl_find_str (CCL_bibset bibset, const char *str, The parser converts CQL to - - XCQL. + XCQL. XCQL is an XML representation of CQL. XCQL is part of the SRW specification. However, since SRU supports CQL only, we don't expect XCQL to be widely used. @@ -1081,6 +1084,8 @@ struct cql_node { If an index is unspecified for a search term, index will be NULL. + + index_uri: index URi for search term or NULL if none could be resolved for the index. @@ -1174,7 +1179,7 @@ int cql_transform_buf(cql_transform_t ct, returns a non-zero SRW error code; otherwise zero is returned (conversion successful). The meanings of the numeric error codes are listed in the SRW specifications at - + If conversion fails, more information can be obtained by calling @@ -1214,7 +1219,7 @@ int cql_transform_FILE(cql_transform_t ct, - Specification of CQL to RPN mapping + Specification of CQL to RPN mappings The file supplied to functions cql_transform_open_FILE, @@ -1598,7 +1603,7 @@ typedef struct oident again, corresponding to the specific OIDs defined by the standard. Refer to the - + Registry of Z39.50 Object Identifiers for the whole list. @@ -1803,12 +1808,12 @@ typedef struct oident production use of those applications. - The log functions are declared in header yaz/ylog.h + The log functions are declared in header yaz/log.h and implemented in src/log.c. Due to name clash with syslog and some math utilities the logging interface has been modified as of YAZ 2.0.29. The obsolete interface - is still available if the application includes - yaz/log.h. The key points of the interface are: + is still available if in header file yaz/log.h. + The key points of the interface are: void yaz_log(int level, const char *fmt, ...) @@ -1967,6 +1972,7 @@ typedef struct oident #define YAZ_MARC_OAIMARC 2 #define YAZ_MARC_MARCXML 3 #define YAZ_MARC_ISO2709 4 + #define YAZ_MARC_XCHANGE 5 /* supply iconv handle for character set conversion .. */ void yaz_marc_iconv(yaz_marc_t mt, yaz_iconv_t cd);