X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Fzoom.xml;h=6b2e4806e1a83c97d3a54acdbe7d40b63c638923;hb=453ef6af83ca65ce67454e77764fd382162f8813;hp=09c8afe2f8b37608798b2347daa016105c919c26;hpb=7a5fb5eb34cc8f0d976259a4c90a448de29a3d3c;p=metaproxy-moved-to-github.git diff --git a/doc/zoom.xml b/doc/zoom.xml index 09c8afe..6b2e480 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -1,4 +1,4 @@ - @@ -9,18 +9,18 @@ Metaproxy Index Data - + zoom 3mp Metaproxy Module - + zoom Metaproxy ZOOM Module - + DESCRIPTION @@ -29,7 +29,7 @@ The client implements the protocols that ZOOM C does: Z39.50, SRU (GET, POST, SOAP) and SOLR . - + This filter only deals with Z39.50 on input. The following services are supported: init, search, present and close. The backend target @@ -170,6 +170,10 @@ Specifies a stylesheet that converts retrieval records after transform/literal operations. + + When Metaproxy creates a content proxy session, the XSL parameter + cproxyhost is passed to the transform. + @@ -229,6 +233,17 @@ + attribute config_file + + + Specifies the file that configures the cf-proxy system. Metaproxy + uses setting sessiondir and + proxyhostname from that file to configure + name of proxy host and directory of parameter files for the cf-proxy. + + + + attribute server @@ -236,6 +251,12 @@ host[:port]. That is without a method (such as HTTP) and optional port number. + + + This setting is deprecated. Use the config_file (above) + to inform about the proxy server. + + @@ -248,6 +269,12 @@ using the mkstemp(3) system call. The default value of this setting is /tmp/cf.XXXXXX.p. + + + This setting is deprecated. Use the config_file (above) + to inform about the session file area. + + @@ -290,6 +317,15 @@ + + attribute proxy_timeout + + + Is an integer that specifies, in seconds, how long an operation + a proxy check will wait before giving up. Default value is 1. + + + @@ -312,7 +348,7 @@ Step 1: for CCL, the query is converted to RPN via cclmap elements part of - the target profile as well as + the target profile as well as base CCL maps. @@ -330,13 +366,13 @@ type. - + SORTING The ZOOM module actively handle CQL sorting - using the SORTBY parameter which was introduced in SRU version 1.2. The conversion from SORTBY clause - to native sort for some target is driven by the two parameters: + to native sort for some target is driven by the two parameters: sortStrategy and sortmap_field. @@ -346,7 +382,7 @@ conversion. It doesn't throw a diagnostic. - + TARGET PROFILE @@ -371,7 +407,7 @@ - + cclmap_field @@ -383,7 +419,7 @@ - + cfAuth @@ -431,7 +467,7 @@ element_raw from the configuration. By default that is the element sets pz2 and raw. - If record transform is not enabled, this setting is + If record transform is not enabled, this setting is not used and the element set specified by the client is passed verbatim. @@ -451,7 +487,7 @@ - + piggyback @@ -462,7 +498,7 @@ - + queryEncoding @@ -472,7 +508,7 @@ - + recordEncoding @@ -503,7 +539,7 @@ - + sortStrategy @@ -516,7 +552,7 @@ - + sru @@ -563,7 +599,7 @@ The value of this field is a string that generates a dynamic link based on record content. If the resulting string is non-zero in length - a new field, metadata with attribute + a new field, metadata with attribute type="generated-url" is generated. The contents of this field is the result of the URL recipe conversion. The urlRecipe value may refer to an existing metadata element by @@ -573,15 +609,9 @@ metadata element title and converts one or more spaces to a plus character. - - If the contentConnector - setting also defined, the resulting value is - augmented with a session string as well as host name of the - content proxy server. - - + zurl @@ -611,7 +641,7 @@ is a comma rather than a question mark. What follows question mark are HTTP arguments (in this case SRU arguments). - + user @@ -688,22 +718,26 @@ - + SCHEMA - + EXAMPLES - The following configuration illustrates most of the - facilities: + In example below Target definitions (Torus records) are fetched + from a web service via a proxy. A CQL profile is configured which + maps to a set of CCL fields ("no field", au, tu and su). Presumably + the target definitions fetched maps the CCL to their native RPN. + A CCL "ocn" is mapped for all targets. Logging of APDUs are enabled, + and a timeout is given. - + @@ -728,9 +762,38 @@ ]]> - - - + + + Here is another example with two locally defined targets: A + Solr target and a Z39.50 target. + + + + + + ocs-test + t=z + u=title t=z + solr + ocs-test.indexdata.com/solr/select + + + loc + t=l,r + u=4 t=l,r + z3950.loc.gov:7090/voyager + + + + + + +]]> + + + + SEE ALSO @@ -746,7 +809,7 @@ - + ©right;