From 465748e588f2e12d9670b62a7d07cc75d59ca827 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 20 Apr 2004 23:49:48 +0000 Subject: [PATCH] More examples --- doc/reference.xml | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++- doc/using.xml | 109 ++++++++++++++++++++++++++++++++++++----- etc/config.xml | 8 +-- 3 files changed, 239 insertions(+), 17 deletions(-) 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 -- 1.7.10.4