X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ccl%2Fbib1;h=afa776a6c2f8bc4bedd80ad6de4cf049c6298add;hb=d0e56fdb958b43316f5ebffddd7f9dd8480978f8;hp=2a1aa2869dab63009679c386fc5114299306f127;hpb=33a6eab614ca84eef817f675843e6de820d13708;p=yaz-moved-to-github.git diff --git a/ccl/bib1 b/ccl/bib1 index 2a1aa28..afa776a 100644 --- 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.12 2002-10-14 19:45:36 adam Exp $ +# CCL qualifiers and their mappings # # Each line takes the form: -# name =,.. = ... +# name [,]=,.. = ... # Where type is one of: # u use-attribute # r relation-attribute ) @@ -18,14 +18,21 @@ # 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. -term s=pw t=l,r s=al -au u=1 s=pw t=l,r -ti u=4 s=pw t=l,r + +# This rule is for CCL tokens where no fields are specified +#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 # 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 @@ -90,3 +97,20 @@ com:is c=1 com:cs c=2 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