aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/book.sd
blob: 1aa3ffa35cc8e2992531895b6567dae8346c4113 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search book {
        document book inherits base {
                field title type string {
                        bolding: on
                        indexing: index|summary
                        rank-type: about
                }
                field dispauthor type string {
                        bolding: on
                        indexing: index|summary
                        rank-type: about
                }
                field author type string {
                        bolding: on
                        indexing: index|summary
                        rank-type: about
                }
                field keys type string {
                        indexing: index
                        rank-type: about
                }
                field isbn type string {
                        indexing: index|summary
                        rank-type: about
                }
                field series type string {
                        indexing: index
                        rank-type: about
                }
                field url type string {
                        indexing: summary
                }
                field image type string {
                        indexing: summary
                }
                field img85 type string {
                        indexing: summary
                }
                field img110 type string {
                        indexing: summary
                }
    field limg type string {
      indexing: summary
    }
                field did type string {
                        indexing: attribute|index|summary
			attribute : no-update
                }
                field price type string {
                        indexing: summary
                }
                field categories type string {
                        indexing: attribute|index|summary
			attribute : no-update
                }
                field mid type int {
                        indexing: attribute|summary|collapse
                }
                field pfrom type long {
                        indexing: attribute|summary
                }
                field pto type string {
                        indexing: summary
                }
                field fmt type string {
                        indexing: index|summary
                }
                field data type string {
                        indexing: summary
                }
                field weight type float {
                        indexing {
                                field weight * 6 | summary;
                        }
                }
                field year type int {
                        indexing: attribute|summary
                }
                field newestedition type int {
                        indexing: attribute|summary
                }
                field woty type int {
                        indexing: attribute|summary
                }
                field formats type string {
                        indexing: index|summary
                }
                field age type string {
                        indexing: index|summary
                }
                field sales type int {
                        indexing: attribute|summary
                }
                field more_url type string {
                        indexing: summary
                }
                field more_price type string {
                        indexing: summary
                }
                field more_format type string {
                        indexing: summary
                }
                field pid type string {
                        indexing: index|summary
                }
                field userrate type int {
                        indexing: attribute|summary
                }
                field numreview type int {
                        indexing: summary
                }
                field cbid type string {
                        indexing: attribute|index|summary
 			attribute: no-update
                        rank-type: about
                }
                field scid type string {
                        indexing: index|summary
                        rank-type: about
                }
                field w1 type float {
                        indexing {
                                field weight * 6 + field w1 | staticrank weight1 | summary;
                        }
                }
                field w2 type float {
                        indexing {
                                field w2 + field weight | staticrank weight2 | summary;
                        }
                }
                field w3 type float {
                        indexing {
                                field w3 + field weight | staticrank weight3 | summary;
                        }
                }
                field w4 type float {
                        indexing {
                                field w4 + field weight | staticrank weight4 | summary;
                        }
                }
                field sw1 type float {
                        indexing {
                                field weight * 6 + field w1 + field w2 | staticrank | summary;
                        }
                }
                field sw2 type float {
                        indexing {
                                field weight | staticrank sw2 | summary;
                        }
                }
                field sw3 type float {
                        indexing {
                                field weight | staticrank sw3 | summary;
                        }
                }
                field sw4 type float {
                        indexing {
                                field weight | staticrank sw4 | summary;
                        }
                }
        }

        field didinteger type int {
                indexing {
                        field did | split_foreach " " { attribute; } | summary;
                }
                attribute: multivalued
        }

        rank-profile rp1 inherits default {
        }
        rank-profile rp2 inherits default {
        }
        rank-profile rp3 inherits default {
        }
        rank-profile rp4 inherits default {
        }
}