Add isbn to bath
[yaz-moved-to-github.git] / etc / pqf.properties
index d91b0c3..ae534c2 100644 (file)
@@ -1,17 +1,17 @@
-# $Id: pqf.properties,v 1.4 2003-12-18 16:44:20 mike Exp $
+# $Id: pqf.properties,v 1.7 2004-01-07 14:01:24 adam Exp $
 #
 # Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF()
 # back-end and the YAZ CQL-to-PQF converter.  This specifies the
-# interpretation of various CQL qualifiers, relations, etc. in terms
+# interpretation of various CQL indexes, relations, etc. in terms
 # of Type-1 query attributes.
 #
 # This configuration file generates queries using BIB-1 attributes.
 # See http://www.loc.gov/z3950/agency/zing/cql/dc-indexes.html
 # for the Maintenance Agency's work-in-progress mapping of Dublin Core
-# qualifiers to Attribute Architecture (util, XD and BIB-2)
+# indexes to Attribute Architecture (util, XD and BIB-2)
 # attributes.
 
-# Identifiers for prefixes used in this file. (qualifier.*)
+# Identifiers for prefixes used in this file. (index.*)
 set.cql                = http://www.loc.gov/zing/cql/context-sets/cql/v1.1/
 set.srw                = http://www.loc.gov/zing/cql/srw-indexes/v1.0/
        # The "srw" set is deprecated in favour of the "cql" set.
@@ -109,11 +109,22 @@ structure.any                             = 4=2
 structure.*                            = 4=1
        # phrase
 
+# Truncation attributes used to implement CQL wildcard patterns.  The
+# simpler forms, left, right- and both-truncation will be used for the
+# simplest patterns, so that we produce PQF queries that conform more
+# closely to the Bath Profile.  However, when a more complex pattern
+# such as "foo*bar" is used, we fall back on Z39.58-style masking.
+#
+truncation.right                       = 5=1
+truncation.left                                = 5=2
+truncation.both                                = 5=3
+truncation.none                                = 5=100
+truncation.z3958                       = 5=104
+
 # Finally, any additional attributes that should always be included
 # with each term can be specified in the "always" property.
 #
-always                                 = 5=105 6=1
-# 5=105: the not-yet-standarised CQL-like trunction attribute
+always                                 = 6=1
 # 6=1: completeness = incomplete subfield
 
 
@@ -133,6 +144,7 @@ index.bath.personalName                     = 1=1
 index.bath.corporateName               = 1=2
 index.bath.conferenceName              = 1=3
 index.bath.uniformTitle                        = 1=6
+index.bath.isbn                                = 1=7
 index.bath.issn                                = 1=8
 index.bath.geographicName              = 1=58
 index.bath.notes                       = 1=63