blob: a9087f32f0e0e63ac78cebd71a22c381f222fafc (
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
|
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema test {
document test {
struct elem {
field sf1s type string {
}
field sf2m type map<string,string> {
}
field sf3s type string {
match {
exact
exact-terminator: "@elem@"
}
}
field sf4m type map<string,string> {
match {
exact
exact-terminator: "@elem@"
}
}
}
struct combined {
field cf5e1 type elem {
}
field cf6e2 type elem {
match {
exact
exact-terminator: "@combi@"
}
}
}
field stuff type combined {
indexing: summary
struct-field cf5e1.sf1s {
indexing: attribute
}
struct-field cf5e1.sf2m.key {
indexing: attribute
}
struct-field cf5e1.sf2m.value {
indexing: attribute
}
struct-field cf5e1.sf3s {
indexing: attribute
}
struct-field cf5e1.sf4m.key {
indexing: attribute
}
struct-field cf5e1.sf4m.value {
indexing: attribute
}
struct-field cf6e2.sf1s {
indexing: attribute
}
struct-field cf6e2.sf2m.key {
indexing: attribute
}
struct-field cf6e2.sf2m.value {
indexing: attribute
}
struct-field cf6e2.sf3s {
indexing: attribute
}
struct-field cf6e2.sf4m.key {
indexing: attribute
}
struct-field cf6e2.sf4m.value {
indexing: attribute
}
}
}
}
|