X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-client-commands.xml;h=3ef958abe68870726cb3e633235bcb4b023c251e;hb=045b45e1cf3070d4eb6a95ec15686712449987c9;hp=d96e56cabcb3285749d61f5ce12643199ac8a3c5;hpb=ff9c21a4a93db3d49140602e6b8bdc062bde4153;p=yaz-moved-to-github.git
diff --git a/doc/yaz-client-commands.xml b/doc/yaz-client-commands.xml
index d96e56c..3ef958a 100644
--- a/doc/yaz-client-commands.xml
+++ b/doc/yaz-client-commands.xml
@@ -1,5 +1,5 @@
@@ -127,19 +127,24 @@
Sorts a result set. The sort command takes a
- sequence of sort specifications. A sort
- specification holds a field (sort criteria) and is followed by flags.
- If the sort criteria includes = it is assumed
- that the sort SortKey is of type sortAttributes using Bib-1.
- The integer before = is
+ sequence of space-separated sort specifications, with each sort
+ specification consisting of two space-separated words (so that the
+ whole specification list is made up of an even number of words).
+ The first word of each specification
+ holds a field (sort criterion) and the second holds flags.
+ If the sort criterion includes = it is assumed
+ that the SortKey is of type
+ sortAttributes using Bib-1: in this case
+ the integer before = is
the attribute type and the integer following =
is the attribute value.
- If no = is in the SortKey it is treated as a
- sortfield-type of type InternationalString.
- Flags observed are: s
- for case sensitive, i for case insensitive,
- < for sort ascending and >
- for sort descending.
+ If no = is in the criterion it is treated as a
+ sortfield of type InternationalString.
+ The flags word of each sort specification must consist of
+ s
+ for case sensitive or i for case insensitive, and
+ < for ascending order or >
+ for descending order.
@@ -332,13 +337,23 @@
update
+ action
+ recid
+ doc
- Sends Item Update Request. This command sends a "minimal"
- PDU Update to the target supplying the last received record from
- the target.
- If no record has been received from the target this command is ignored
- and nothing is sent to the target.
+ Sends Item Update Request. The action
+ argument must be the action type: one of insert,
+ replace, delete and
+ update. The second argument,
+ recid, is the
+ record identifier (any string). Third argument which is optional is
+ the record document for the request. If doc is a quoted string
+ (double quotes) the string content is used verbatim. If doc is not
+ a quoted string, it is assumed to be a filename which is read, then
+ sent as the docuemnt content. If doc is omitted, the last received
+ record (as parf of present response or piggybacked search response)
+ is used for the update.
@@ -623,7 +638,7 @@
This command makes YAZ client wait for a number of
- response packages from target. If number is
+ response packages from target. If number is
omitted, 1 is assumed.
This command is rarely used and is only useful if command
@@ -634,6 +649,17 @@
+
+ xmles
+ OID
+ doc
+
+
+ Sends XML Extended Services request using the OID and doc given.
+
+
+
+
zversion
ver