aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/streamingstructdefault/streamingstructdefault.sd
blob: 6d16a1b3808f1f7814e694f078eebf6357a00ec3 (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
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search streamingstructdefault {
  document streamingstructdefault {
    struct sct {
      field s1 type string {}
      field s2 type string {}
    }
    field f1 type array<string> {
      indexing: index | summary
      summary-to: default
      header
    }
    field f2 type array<sct> {
      indexing: index | summary
      header
    }
  }
  document-summary default {
    summary sum1 type string {
      source: f1, f2.s1
      dynamic
    }
  }
}