From ce3481bda4af7147e61cb88f7e628e57c4c443c2 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 19 Dec 2003 12:00:36 +0000 Subject: [PATCH] Add truncation attributes. --- etc/pqf.properties | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/etc/pqf.properties b/etc/pqf.properties index 5e15948..22e6b9b 100644 --- a/etc/pqf.properties +++ b/etc/pqf.properties @@ -1,4 +1,4 @@ -# $Id: pqf.properties,v 1.5 2003-12-18 16:49:07 mike Exp $ +# $Id: pqf.properties,v 1.6 2003-12-19 12:00:36 mike Exp $ # # Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF() # back-end and the YAZ CQL-to-PQF converter. This specifies the @@ -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 -- 1.7.10.4