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

    field s1 type string {
      indexing: index
    }
    field s2 type string {
      indexing: index | attribute
    }
    field as1 type array<string> {
      indexing: index
    }
    field as2 type array<string> {
      indexing: index | attribute
    }

    field i1 type int {
      indexing: index
    }
    field i2 type int {
      indexing: index | attribute
    }
    field ai1 type array<int> {
      indexing: index
    }
    field ai2 type array<int> {
      indexing: index | attribute
    }

  }
}