aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/outsidesummary.sd
blob: d6a6f47a4439d0cc6c0680648d5f15413bee0769 (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
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search outsidesummary {

  document-summary other {

    summary sa type string {
      dynamic
      source: a
    }

    summary sa2 type string {
      full
      source: a
    }

    summary a type string {
    }

  }

  document outsidesummary {

    field a type string {
      indexing: summary
    }

    field b type string {
      indexing: summary
      summary-to: default, other
      summary {
        dynamic
      }
    }

    field c type string {
      indexing: summary
      summary {
        dynamic
        to: other, default
      }
    }

  }

}