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

  document multiplesummaries {

    field field1 type weightedset<string> {
      indexing: summary | attribute
    }

    field field2 type tag {
      indexing: summary | attribute
    }

    field field3 type array<int> {
      indexing: summary | attribute
    }

  }

  document-summary other {

    summary field1 {
    }

    summary field2 {
    }

    summary field3 {
    }

  }

}