Updated with more info.
[yaz-moved-to-github.git] / ccl / bib1
index 2a1aa28..26e7792 100644 (file)
--- a/ccl/bib1
+++ b/ccl/bib1
@@ -1,8 +1,8 @@
-# $Id: bib1,v 1.3 2000-10-17 19:50:28 adam Exp $
-# CCL qualifiers and their mapping to a bib-1 subset
+# $Id: bib1,v 1.5 2000-12-29 11:12:12 adam Exp $
+# CCL qualifiers and their mappings
 #
 # Each line takes the form:
 #
 # Each line takes the form:
-#   name      <type>=<val>,<val>..   <type>=<val> ...
+#   name      [<attributeset>,]<type>=<val>,<val>..   <type>=<val> ...
 # Where type is one of:
 #    u       use-attribute          
 #    r       relation-attribute    )
 # Where type is one of:
 #    u       use-attribute          
 #    r       relation-attribute    )
 #    pw      phrase/word. The CCL parser will decide whether phrase or word
 #            is needed. Phrase is used if term contain blanks; otherwise
 #            Word is used.
 #    pw      phrase/word. The CCL parser will decide whether phrase or word
 #            is needed. Phrase is used if term contain blanks; otherwise
 #            Word is used.
+#    al      and-list. AND operation is put between each term.
+#    ol      or-list. OR operation is put between each term.
 # Special value for truncation:
 #    l       Allow left truncation if ? is at left side of term.
 #    r       Allow right truncation if ? is at left side of term.
 #    b       Allow left&right truncation if ? is at left&right side of term.
 #    n       Set truncation explicitly to "none" if no ? is given.
 # Special value for truncation:
 #    l       Allow left truncation if ? is at left side of term.
 #    r       Allow right truncation if ? is at left side of term.
 #    b       Allow left&right truncation if ? is at left&right side of term.
 #    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 s=pw   t=l,r s=al
+# Common short-hand access points.
 au   u=1    s=pw t=l,r
 ti   u=4    s=pw t=l,r
 isbn u=7
 au   u=1    s=pw t=l,r
 ti   u=4    s=pw t=l,r
 isbn u=7
@@ -90,3 +95,5 @@ com:is      c=1
 com:cs      c=2
 com:cf      c=3
 
 com:cs      c=2
 com:cf      c=3
 
+exp:category exp1,1=1
+