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

  document-summary other {

    summary sa {
      dynamic
      source: a
    }

    summary sa2 {
      full
      source: a
    }

    summary a {
    }

  }

  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
      }
    }

  }

}