X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fvirt_db.xml;h=52f578e45fd28cbb3f5e1b36ae190472b0e403bd;hb=259a989d5f7d9c966caa44f2bffc08ee3798e3a5;hp=13b86adddce5fe2e4dd5485666ba92d377c5771a;hpb=80c5b0abe5cede1a859d8adc3ba825186ef1e74e;p=metaproxy-moved-to-github.git diff --git a/doc/virt_db.xml b/doc/virt_db.xml index 13b86ad..52f578e 100644 --- a/doc/virt_db.xml +++ b/doc/virt_db.xml @@ -1,37 +1,42 @@ - %idcommon; ]> + + Metaproxy + Index Data + + virt_db 3mp - Metaproxy Module - - + 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. @@ -60,7 +65,14 @@ databases do not result in the same routing. - + + SCHEMA + + + + EXAMPLES Consider this virt_db configuration: @@ -72,16 +84,16 @@ db2 - indexdata.com/gils + z3950.indexdata.com/gils combined - indexdata.com/gils + z3950.indexdata.com/gils localhost:9999/Default db3 - indexdata.com/special + z3950.indexdata.com/special * @@ -90,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 @@ -100,8 +112,8 @@ Since db3 routes differently from the other databases, this database may not be combined with the others. - - + + SEE ALSO @@ -120,21 +132,13 @@ - + ©right;