aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/tensor/tensor.sd
blob: b89b96e253b7dd3397f74481686eadf619cace6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search tensor {
  document tensor {
    field f1 type tensor {
      indexing: summary
    }
    field f2 type tensor {
      indexing: attribute
    }
    field f3 type tensor {
      indexing: attribute | summary
    }
    field f4 type tensor {
      indexing: attribute
      attribute: tensor(x[10],y[20])
    }
  }
}