From b11da5f84991a07de9caf4ab52478e0e5a1028e0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 15 Sep 2010 14:30:09 +0200 Subject: [PATCH] Add SOLR material for ZOOM and yaz-client --- doc/introduction.xml | 10 +++++++--- doc/yaz-client-commands.xml | 15 ++++++++------- doc/yaz-client-man.xml | 12 +++++++++--- doc/zoom.xml | 39 +++++++++++++++++++++------------------ 4 files changed, 45 insertions(+), 31 deletions(-) diff --git a/doc/introduction.xml b/doc/introduction.xml index 1010413..1c54f74 100644 --- a/doc/introduction.xml +++ b/doc/introduction.xml @@ -16,7 +16,7 @@ Supports SRU GET/POST/SOAP - version 1.1 (over HTTP and HTTPS). + version 1.2 (over HTTP and HTTPS). Includes BER encoders/decoders for the @@ -24,6 +24,10 @@ protocol. + Supports + SOLR Web Service (client side only) + + Supports the following transports: BER over TCP/IP (RFC1729), BER over unix local socket, and @@ -38,8 +42,8 @@ Offers - ZOOM C API implementing both - Z39.50 and SRU. + ZOOM C API implementing + Z39.50, SRU and SOLR Web Service. The &yaz; library offers a set of useful utilities diff --git a/doc/yaz-client-commands.xml b/doc/yaz-client-commands.xml index 09f7dfc..a769ac4 100644 --- a/doc/yaz-client-commands.xml +++ b/doc/yaz-client-commands.xml @@ -186,9 +186,10 @@ sru method version - Selects SRU method and version. + Selects Web Service method and version. Must be one of POST, - GET, SOAP (default). Version + GET, SOAP (default) + or SOLR. Version should be either 1.1 or 1.2. Other versions are allowed - for testing purposes (version negotiation with SRU server). @@ -213,7 +214,7 @@ See the - Z39.50 standard + Z39.50 standard on set bounds for more details. @@ -229,7 +230,7 @@ See the - Z39.50 standard + Z39.50 standard on set bounds for more details. @@ -245,7 +246,7 @@ See the - Z39.50 standard + Z39.50 standard on set bounds for more details. @@ -285,10 +286,10 @@ are registered. See - Z39.50 Standard + Z39.50 Record Syntax Identifiers for more details. Commonly used records syntaxes include usmarc, - sutrs, grs1 and xml. + sutrs and xml. diff --git a/doc/yaz-client-man.xml b/doc/yaz-client-man.xml index 3325fa5..578db2e 100644 --- a/doc/yaz-client-man.xml +++ b/doc/yaz-client-man.xml @@ -48,9 +48,15 @@ DESCRIPTION - yaz-client is a Z39.50/SRU client (origin) with a - simple command line interface that allows you to test behavior and - performance of Z39.50 targets and SRU servers. + yaz-client is a + Z39.50/SRU + client (origin) with a simple command line interface that allows + you to test behavior and performance of Z39.50 targets and SRU servers. + + + From YAZ version 4.0.13, yaz-client may also operate as a + SOLR Web Service + client. If the server-addr is specified, the client creates diff --git a/doc/zoom.xml b/doc/zoom.xml index 3698ccf..9c32a15 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -29,22 +29,22 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) programming language or toolkit. - - - A recent addition to &yaz; is SRU support. You can now make - SRU ZOOM connections by specifying scheme http:// - for the hostname for a connection. The dialect of SRU used is - specified by the value of the connection's sru - option, which may be SRU over HTTP GET (get), - SRU over HTTP POST (post) or SRW (SRU over - SOAP) (soap). Using the facility for embedding - options in target strings, a connection can be forced to use SRU - rather the SRW (the default) by prefixing the target string with - sru=get,, like this: + + From YAZ version 2.1.12, SRU is supported. + You can make SRU ZOOM connections by specifying scheme + http:// for the hostname for a connection. + The dialect of SRU used is specified by the value of the + connection's sru option, which may be SRU over + HTTP GET (get), + SRU over HTTP POST (post), (SRU over + SOAP) (soap) or SOLR + (SOLR Web Service). + Using the facility for embedding options in target strings, a + connection can be forced to use SRU rather the SRW (the default) by + prefixing the target string with sru=get,, like this: sru=get,http://sru.miketaylor.org.uk:80/sru.pl - - + The lack of a simple Z39.50 client API for &yaz; has become more and more apparent over time. So when the first &zoom; specification @@ -277,7 +277,8 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) sru SRU transport type. Must be either soap, - get or post. + get, post, or + solr. soap sru_version @@ -289,9 +290,11 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) 1.2 facets - A FacetList is comma-separated list of facet, which is defined as AttributeList - and a optional FacetTerm (a Term and a frequency). On request the terms is missing. - On response the the list contains the terms that the target could collect. + A FacetList is comma-separated list of facet, which is defined + as AttributeList and a optional FacetTerm + (a Term and a frequency). On request the terms is missing. + On response the the list contains the terms that the target + could collect. none -- 1.7.10.4