yaz-client: fix crash on connect
[yaz-moved-to-github.git] / client / default.bib
index 2316a29..faf44c4 100644 (file)
@@ -1,22 +1,64 @@
-# Subset of bib-1 attributes map to CCL qualifiers 
-# $Id: default.bib,v 1.4 1996-07-26 13:37:06 quinn Exp $
+# CCL field mappings
+# 
+# The rule below is used when no fields are specified
+term t=l,r  s=al
 #
-term t=l,r  s=pw
-clean t=l
+# Simple rule for a field called "clean"
+clean t=l,r
+#
+# Rules for some BIB-1 fields
+
 au   u=1    s=pw 
 ti   u=4    s=pw
 isbn u=7
 issn u=8
 cc   u=20
 su   u=21   s=pw
-date u=30   r=o
-dp   u=31   r=o
-da   u=32   r=o
+date u=30   r=r
+dp   u=31   r=r
+da   u=32   r=r
 la   u=54   s=pw
 ab   u=62   s=pw
 note u=63   s=pw
 af   u=1006 s=pw
-north  u=2040 r=o
-south  u=2041 r=o
-east  u=2038 r=o
-west  u=2039 r=o
+
+# Qualifier alias
+tiau   ti      au
+#
+# Rules for a few GILS fields
+north  gils-attset,u=2040 r=o
+south  gils-attset,u=2041 r=o
+east  gils-attset,u=2038 r=o
+west  gils-attest,u=2039 r=o
+distributor gils-attset,u=2000 s=pw
+distributorname gils-attset,u=2001 s=pw
+
+# Explain fields
+ExplainCategory      exp1,1=1
+HumanStringLanguage  exp1,1=2
+DatabaseName         exp1,1=3
+TargetName           exp1,1=4
+AttributeSetOID      exp1,1=5
+RecordSyntaxOID      exp1,1=6
+TagSetOID            exp1,1=7
+ExtededServiceOID    exp1,1=8
+DateAdded            exp1,1=9
+DateChanged          exp1,1=10
+DateExpires          exp1,1=11
+ElementSetName       exp1,1=12
+
+# Define or operator
+@or or
+# Define and operator
+@and and
+# Define and not operator
+@not not andnot
+
+# Whether CCL is case sensitive or not.
+@case 1
+
+# default stop words
+# @stop.* the of a
+
+# stop words for ti
+# @stop.ti art