aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/duplicate_struct/foo.sd
blob: 8447b0440cbaa8e445335fcf93364247030de4a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

search foo {
  document foo {
    field timestamp type long {
      indexing: summary | attribute
    }
    field mystuff type array<mystruct> {
      indexing: summary
    }
  }

  struct mystruct {
    field name type string { }
    field company type string { }
  }
}