Move main YAZ manual to book.xml; use nxml YAZ-758
[yaz-moved-to-github.git] / etc / cqlpass.properties
1 # Properties for pass-through index name to Bib-1 use attribute
2 # Requires YAZ 2.1.49 or later.
3
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
7
8 # The default set when an index doesn't specify one: CQL Passthrough
9 set             = http://indexdata.dk/yaz/cqlpass
10
11 # The default index when none is specified by the query
12 index.cql.serverChoice                  = 1=1016
13
14 index.pass.*                            = 1=*
15
16 # Relation attributes are selected according to the CQL relation by
17 # looking up the "relation.<relation>" property:
18 #
19 relation.<                              = 2=1
20 relation.le                             = 2=2
21 relation.eq                             = 2=3
22 relation.exact                          = 2=3
23 relation.ge                             = 2=4
24 relation.>                              = 2=5
25 relation.<>                             = 2=6
26
27 # These two are what Zebra uses -- may not work on other servers
28 relation.all                            = 4=6
29 relation.any                            = 4=105
30
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).
33 relation.scr                            = 2=3
34
35 # Relation modifiers.
36 #
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
42
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
47
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".
52 #
53 position.first                          = 3=1 6=1
54         # "first in field"
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
61
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.
65 #
66 structure.exact                         = 4=108
67         # string
68 structure.all                           = 4=2
69 structure.any                           = 4=2
70 structure.*                             = 4=1
71         # phrase
72
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.
78 #
79 truncation.right                        = 5=1
80 truncation.left                         = 5=2
81 truncation.both                         = 5=3
82 truncation.none                         = 5=100
83 truncation.regexp                       = 5=102
84 truncation.z3958                        = 5=104
85
86 # Finally, any additional attributes that should always be included
87 # with each term can be specified in the "always" property.
88 #
89 always                                  = 6=1
90 # 6=1: completeness = incomplete subfield
91
92