blob: 929fa8dcbbe4bb3fa017a90c6ae8c0111ce7e179 (
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
|
search test {
document test {
struct elem {
field name type string {}
field weight type int {}
}
field str_elem_map type map<string,elem> {
indexing: summary
struct-field key {
indexing: attribute
attribute: fast-search
}
struct-field value.name {
indexing: attribute
}
struct-field value.weight {
indexing: attribute
}
}
field int_elem_map type map<int,elem> {
indexing: summary
struct-field key {
indexing: attribute
}
struct-field value.name {
indexing: attribute
attribute: fast-search
}
}
}
}
|