blob: e31f3e4df3a6df333c8d1bfb866ca4f150a78acf (
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
|
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema attributes {
document attributes {
# Summary value taken from attribute
field a1 type string {
indexing: attribute | summary
match {
token
}
}
# Summary value taken from summary
field a2 type string {
indexing: attribute | summary
match {
token
}
}
# Summary value taken from summary
field a3 type string {
indexing: attribute | summary
match {
token
}
}
# No attribute
field a4 type string {
indexing: summary
}
field a5 type string {
indexing: attribute | summary | index
}
field a6 type string {
indexing: attribute | summary | index
}
# Multivalued; summary override
field a7 type string {
indexing: summary
}
# Multivalued; summary override
field a8 type string {
indexing: summary
}
field b1 type string {
indexing: attribute | summary
}
field b2 type string {
indexing: attribute | summary | index
}
field b3 type string {
indexing: attribute | summary | index
alias: date
}
field b4 type int {
indexing: attribute | summary
}
# integers (should not trigger exact-match query parsing)
field b5 type int {
indexing: summary | attribute
}
field b6 type array<long> {
indexing: summary | attribute
}
field b7 type weightedset<int> {
indexing: summary | attribute
}
field a9 type int {
indexing: attribute
attribute: enable-bit-vectors
}
field a10 type array<int> {
indexing: attribute
attribute {
fast-search
enable-only-bit-vector
enable-bit-vectors
}
}
field a11 type int {
indexing: attribute
attribute: fast-access
}
field a12 type int {
indexing: attribute
rank: filter
}
field a13 type tensor(x{}) {
indexing: attribute
attribute: fast-rank
}
}
field a7_arr type array<string> {
indexing: input a7 | split ";" | attribute
}
field a8_arr type array<string> {
indexing: input a8 | split ";" | attribute
}
fieldset default {
fields: a5, a6
}
}
|