aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/bolding_dynamic_summary/test.sd
blob: 3d054c658399cf55b0c8a01f4d550c78c672e8bb (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
46
47
48
49
50
51
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema test {
  document test {
    field str_1 type string {
      indexing: index | summary
      summary: dynamic
    }
    field str_2 type string {
      indexing: index | summary
      bolding: on
    }
    field str_3 type string {
      indexing: index | summary
    }
    field str_4 type string {
      indexing: index | summary
    }
    field arr_1 type array<string> {
      indexing: index | summary
      summary: dynamic
    }
    field arr_2 type array<string> {
      indexing: index | summary
      bolding: on
    }
    field arr_3 type array<string> {
      indexing: index | summary
    }
    field arr_4 type array<string> {
      indexing: index | summary
    }
  }
  document-summary dyn {
    summary str_3_dyn {
      source: str_3
      dynamic
    }
    summary arr_3_dyn {
      source: arr_3
      dynamic
    }
    summary str_4_bold {
      source: str_4
      bolding: on
    }
    summary arr_4_bold {
      source: arr_4
      bolding: on
    }
  }
}