Fix description of ZOOM_record_get("syntax")
[yaz-moved-to-github.git] / ccl / bib1
index 26e7792..1dc9dca 100644 (file)
--- a/ccl/bib1
+++ b/ccl/bib1
@@ -1,4 +1,4 @@
-# $Id: bib1,v 1.5 2000-12-29 11:12:12 adam Exp $
+# $Id: bib1,v 1.13 2003-06-23 10:22:21 adam Exp $
 # CCL qualifiers and their mappings
 #
 # Each line takes the form:
 #    n       Set truncation explicitly to "none" if no ? is given.
 
 # This rule is for CCL tokens where no fields are specified
-term s=pw   t=l,r s=al
+#term u=1016 t=l,r s=pw,al
+term u=1016 t=l,r s=pw,al
 # Common short-hand access points.
-au   u=1    s=pw t=l,r
-ti   u=4    s=pw t=l,r
+au   u=1    s=pw t=l,r         # author
+sp   u=1    s=pw t=l,r         # author
+ti   u=4    s=pw t=l,r          # title
 isbn u=7
 issn u=8
 cc   u=20
@@ -97,3 +99,21 @@ com:cf      c=3
 
 exp:category exp1,1=1
 
+# These special directives defines names of keywords for parser
+@and og *             # either 'or' or *
+@or eller           # either 'eller' or +
+@not ikke            # and so on..
+@set s set
+@case 0                      # case insenstive (1 for case sensitive)
+@truncation * ?
+@field or
+
+# Aliases 
+#
+# forfatter=x is equivalent to au=x
+forfatter au
+# tiau=x is equivalent to ti=x or ti=x
+tiau ti au
+#
+# string atributes
+dc.title 1=/my/title