aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/streamingstructdefault/streamingstructdefault.sd
blob: 837678ed1744746b4fbe6698ae9c9988bc1ef3bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema streamingstructdefault {
  document streamingstructdefault {
    struct sct {
      field s1 type string {}
      field s2 type string {}
    }
    field f1 type array<string> {
      indexing: index | summary
      summary-to: default
    }
    field f2 type array<sct> {
      indexing: index | summary
    }
  }
  document-summary default {
    summary sum1 {
      source: f1, f2.s1
      dynamic
    }
  }
}