summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/attributeproperties2.sd
blob: 9c5e3e1a07f7b0fae1923a32529672118592fee2 (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
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search bolding {
  document bolding {

    # This is how it usually should be
    field anotherbatchid type int {
      indexing: summary | index | attribute
      attribute {
        prefetch
      }
      attribute: huge
    }

    # The attribute is created in the next field
    field bar type int {
      indexing: summary | index
      attribute {
        prefetch
      }
    }

    # Creates attribute for the previous field
    field foo type int {
        indexing: input bar | attribute bar
    }
  }
}