1 # Properties for pass-through index name to Bib-1 use attribute
2 # Requires YAZ 2.1.49 or later.
4 # Identifiers for prefixes used in this file. (index.*)
5 set.cql = info:srw/cql-context-set/1/cql-v1.1
6 set.pass = http://indexdata.dk/yaz/cqlpass
8 # The default set when an index doesn't specify one: CQL Passthrough
9 set = http://indexdata.dk/yaz/cqlpass
11 # The default index when none is specified by the query
12 index.cql.serverChoice = 1=1016
16 # Relation attributes are selected according to the CQL relation by
17 # looking up the "relation.<relation>" property:
27 # These two are what Zebra uses -- may not work on other servers
31 # BIB-1 doesn't have a server choice relation, so we just make the
32 # choice here, and use equality (which is clearly correct).
37 relationModifier.relevant = 2=102
38 relationModifier.fuzzy = 5=103
39 ### truncation=regExpr-2 (5=103) in Zebra is "fuzzy matching"
40 relationModifier.stem = 2=101
41 relationModifier.phonetic = 2=100
43 # Non-standard extensions to provoke Zebra's inline sorting
44 relationModifier.sort = 7=1
45 relationModifier.sort-desc = 7=2
46 relationModifier.numeric = 4=109
48 # Position attributes may be specified for anchored terms (those
49 # beginning with "^", which is stripped) and unanchored (those not
50 # beginning with "^"). This may change when we get a BIB-1 truncation
51 # attribute that says "do what CQL does".
53 position.first = 3=1 6=1
55 position.any = 3=3 6=1
56 # "any position in field"
57 position.last = 3=4 6=1
58 # not a standard BIB-1 attribute
59 position.firstAndLast = 3=3 6=3
60 # search term is anchored to be complete field
62 # Structure attributes may be specified for individual relations; a
63 # default structure attribute my be specified by the pseudo-relation
64 # "*", to be used whenever a relation not listed here occurs.
66 structure.exact = 4=108
73 # Truncation attributes used to implement CQL wildcard patterns. The
74 # simpler forms, left, right- and both-truncation will be used for the
75 # simplest patterns, so that we produce PQF queries that conform more
76 # closely to the Bath Profile. However, when a more complex pattern
77 # such as "foo*bar" is used, we fall back on Z39.58-style masking.
79 truncation.right = 5=1
82 truncation.none = 5=100
83 truncation.regexp = 5=102
84 truncation.z3958 = 5=104
86 # Finally, any additional attributes that should always be included
87 # with each term can be specified in the "always" property.
90 # 6=1: completeness = incomplete subfield