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