blob: 3e46aea986af5c14b3e8d5242950395ed5eb5cb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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 name type string {}
field weight type int {}
}
field elem_array type array<elem> {
indexing: summary
struct-field name {
indexing: attribute
attribute: fast-search
}
struct-field weight {
indexing: attribute
}
}
}
document-summary rename {
summary new_elem_array { source: elem_array }
}
}
|