X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=etc%2Fpqf.properties;h=ae534c21a612ddcfc9fe29973c586cd820b1556a;hp=d91b0c386eef52314b7320222758f6acdb3c5f52;hb=bd005058ce4832b581a4f81ec5667212e995a49e;hpb=9c0500654d398012434385e07f44aa2a7545133b diff --git a/etc/pqf.properties b/etc/pqf.properties index d91b0c3..ae534c2 100644 --- a/etc/pqf.properties +++ b/etc/pqf.properties @@ -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