From: Adam Dickmeiss Date: Tue, 20 Apr 2004 23:49:48 +0000 (+0000) Subject: More examples X-Git-Tag: YAZPROXY.0.8~9 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=465748e588f2e12d9670b62a7d07cc75d59ca827;p=yazproxy-moved-to-github.git More examples --- diff --git a/doc/reference.xml b/doc/reference.xml index 2bd922d..aeeefa1 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -17,7 +17,7 @@
- Specifying the Backend Server + Choosing the Backend Server When the proxy receives a Z39.50 Initialize Request from a Z39.50 client, it determines the backend server by the following rules: @@ -57,6 +57,30 @@ + + If the proxy receives an SRW/SRU request, the following rules are used. + + + If default target has Explain information with a + database that matches the path of the + HTTP request of SRW/SRU that backend server is used for + SRW/SRU operation. + + + + + Otherwise the service will return HTTP 404 (Not found). + + + + + + + We know it is stupid to only check for explain in default target. + It means that it is only possible to offer one SRW/SRU server. + We expect to improve that in the next version of the YAZ proxy. + +
Keep-alive Facility @@ -104,6 +128,10 @@ libXSLT support in order for the config file facility to be enabled. + + See for an XML schema + for the configuration. + To check for a config file to be well-formed, the yazproxy may be invoked without specifying a listening port, i.e. @@ -649,7 +677,114 @@ characterInfo of the information choice. -
+ +
+ YAZ Proxy Configuration Schema + + Here an XML Schema for the YAZ proxy configuration file. + The schema, yazproxy.xsd is located in sub + directory etc of the distribution. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + +
+ + + indexdata.dk + 240 + 180 + + + + + + marcxml + + + 0 + + + indexdata.dk + 9000 + gils + + + pqf.properties + + +]]> + + + The conversion from CQL to RPN is specified by the + cql2rpn element. + pqf.properties. + A complete BATH/DC conversion file + pqf.properties is + part of yazproxy in sub direcory etc. + + + Explain information is embedded in the configuration file. + Note that in this example,only a few mandatory + explain elements are specified. A well-behaving server should describe + index sets, indexes, record schemas as well. - + - + indexdata.dk 240 180 @@ -14,7 +14,7 @@ 50 100 - + @@ -31,7 +31,7 @@ pqf.properties - + localhost:9999 300 180