blob: 5e3f248b748879c7e24e7f8f6ff98d96b3982b87 (
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
|
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search parent {
document parent {
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
}
}
field elem_map type map<string, elem> {
indexing: summary
struct-field key {
indexing: attribute
attribute: fast-search
}
struct-field value.name {
indexing: attribute
attribute: fast-search
}
struct-field value.weight {
indexing: attribute
}
}
field str_int_map type map<string, int> {
indexing: summary
struct-field key {
indexing: attribute
attribute: fast-search
}
struct-field value {
indexing: attribute
}
}
}
}
|