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