X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fvirt_db.xml;h=365f684c35e3deffb3cf3fee57d4f64b67b4e63d;hb=36c2c4b8900e01da1b2c2b1f1237379ad02dbbc1;hp=10b796a43b9eda525486cdaf7021f355803cae99;hpb=390f1824be469868bb060cdacd2d48aa184441a9;p=metaproxy-moved-to-github.git diff --git a/doc/virt_db.xml b/doc/virt_db.xml index 10b796a..365f684 100644 --- a/doc/virt_db.xml +++ b/doc/virt_db.xml @@ -1,4 +1,4 @@ - @@ -15,28 +15,28 @@ 3mp Metaproxy Module - + virt_db Metaproxy Virtual Databases Module - + DESCRIPTION This filter allows one Z39.50 database to be me mapped to another target; or even multiple targets. - The configuration of virt_db consists of zero or more + The configuration of virt_db consists of zero or more <virtual> elements each describing the Z39.50 virtual database recognized. The name of the database is the text content of the <database> element which should be - first element inside the 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 + 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. @@ -65,7 +65,14 @@ databases do not result in the same routing. - + + SCHEMA + + + + EXAMPLES Consider this virt_db configuration: @@ -95,7 +102,7 @@ ]]> - This will offer 4 databases, db1, + This will offer 4 databases, db1, db2, combined and db3. If a Z39.50 specifies db1 and db2 that will have same effect as specifying @@ -105,8 +112,8 @@ Since db3 routes differently from the other databases, this database may not be combined with the others. - - + + SEE ALSO @@ -125,21 +132,13 @@ - + ©right;