X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fyaz-client-man.xml;h=42eb323797576617286865deaa68e0b7488e5a12;hp=1114339cbce50931215eb15314cf2fb929a05dc5;hb=e44e073beb75899cf954c94667b412f86009ef16;hpb=a6661f2e025fd649e040da66c5ca4bc7f03aa2ff diff --git a/doc/yaz-client-man.xml b/doc/yaz-client-man.xml index 1114339..42eb323 100644 --- a/doc/yaz-client-man.xml +++ b/doc/yaz-client-man.xml @@ -8,7 +8,7 @@ %idcommon; ]> - + YAZ @@ -38,6 +38,7 @@ + addr @@ -137,7 +138,10 @@ -p addr If specified, the client will use the proxy at the address - given. + given. YAZ client will + connect to a proxy on the address and port given. + The actual target will be specified as part of the InitRequest + to inform the proxy about actual target. @@ -154,6 +158,21 @@ will be used for authentication. + + -v level + + Sets the LOG level to level. + Level is a sequence of tokens separated by comma. Each token + is a integer or a named LOG item - one of + fatal, + debug, + warn, + log, + malloc, + all, + none. + + -V @@ -176,6 +195,38 @@ &yaz-client-commands; + EXAMPLE + + The simplest example of a Prefix Query would be something like + + f knuth + + or + + f "donald knuth" + + In those queries no attributes was specified. + This leaves it up to the server what fields to search but + most servers will search in all fields. Some servers does not + support this feature though, and require that some attributes + are defined. To add one attribute you could do: + + f @attr 1=4 computer + + where we search in the title field, since the use(1) is title(4). + If we want to search in the author field and + in the title field, and in the title field using right truncation + it could look something like this: + + f @and @attr 1=1003 knuth @attr 1=4 @attr 5=1 computer + + Finally using a mix of Bib-1 and GILS attributes could look + something like this: + + f @attrset Bib-1 @and @attr GILS 1=2008 Washington @attr 1=21 weather + + + FILES yaz-<version>/client/client.c @@ -194,18 +245,6 @@ 7 - - Section "The YAZ Client" in the YAZ manual. - - - Section "Prefix Query Format" in the YAZ manual. - - - Section "Common Command Language" in the YAZ manual. - - - Section "Common Query Language" in the YAZ manual. -