blob: d541ba8fc8cbd6d7a125efb9bcfa8eefd9190ccf (
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
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search child {
document child {
field a_ref type reference<parent_a> { indexing: attribute }
field b_ref type reference<parent_b> { indexing: attribute }
field b_ref_with_summary type reference<parent_b> { indexing: attribute | summary }
}
import field a_ref.int_field as my_int_field {}
import field b_ref.string_field as my_string_field {}
import field a_ref.int_array_field as my_int_array_field {}
import field a_ref.int_wset_field as my_int_wset_field {}
import field a_ref.ancient_int_field as my_ancient_int_field {}
fieldset myfieldset {
fields: my_int_field, my_string_field, my_ancient_int_field
}
document-summary mysummary {
summary a_ref type reference<parent_a> {}
summary b_ref_with_summary type reference<parent_b> {}
summary my_int_field type int {}
summary my_string_field type string {}
summary my_int_array_field type array<int> {}
summary my_int_wset_field type weightedset<int> {}
summary my_ancient_int_field type int {}
}
}
|