X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fvirt_db.xml;h=35c43a6bc26f6945bb2da27fc32561e621960c1f;hb=8c9c3b0f7bf85453c42e418f4a740d570f2189c1;hp=1fbdf9687af20fe6ca98fa9224d7a65b1c454d3e;hpb=59a80dbc0ba9631cc217c0a87e9d9d86c5732fe9;p=metaproxy-moved-to-github.git diff --git a/doc/virt_db.xml b/doc/virt_db.xml index 1fbdf96..35c43a6 100644 --- a/doc/virt_db.xml +++ b/doc/virt_db.xml @@ -1,15 +1,20 @@ - %idcommon; ]> + + Metaproxy + Index Data + + virt_db 3mp - Metaproxy Module - + Metaproxy Module + virt_db @@ -27,12 +32,21 @@ Z39.50 virtual database recognized. The name of the database is the text content of the <database> element which should be - first element inside th virtual section. + first element inside the virtual section. + + + For Metaproxy 1.0.20 and later, the database is treated as a glob pattern. + This allows operators * (any number of any character) and + ? (any single character). The virtual sections are inspected in + the order given. The first matching virtual database is used. Following that is one or more <target> elements with the identifier of each target that the virtual database - maps to. + maps to. If a database is given for a target (following a slash), that + database name is used as Z39.50 database for this target. If the + database is omitted for the target, the original (virtual) database + is used as Z39.50 database. If multiple targets are given that has special meaning depending on the @@ -52,6 +66,13 @@ + SCHEMA + + + + EXAMPLES Consider this virt_db configuration: @@ -74,6 +95,10 @@ db3 indexdata.com/special + + * + localhost:9999<-- database not altered --> + ]]> @@ -113,15 +138,7 @@