blob: 65fa2e2559cadefa480e9003118a97bb8b9bfe8b (
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
|
# 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 {
match {
exact
exact-terminator: "@elem_sf1s@"
}
}
field sf2i type int {}
}
field mss3 type map<string,string> {
indexing: index
struct-field key {
indexing: index
}
struct-field value {
indexing: index
}
}
field mse4 type map<string,elem> {
indexing: summary
struct-field key {
indexing: index
}
struct-field value.sf1s {
indexing: index
}
struct-field value.sf2i {
indexing: attribute
}
}
field mse5 type map<string,elem> {
indexing: summary
struct-field key {
indexing: attribute
attribute: fast-search
}
struct-field value.sf1s {
indexing: attribute
}
struct-field value.sf2i {
indexing: attribute
}
}
}
}
|