diff options
author | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-02-17 13:18:18 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-02-17 13:18:18 +0100 |
commit | 89a2e0287414b51b20f4e108ef2d24f494b49d80 (patch) | |
tree | 995157d828604a7ff3d5f12cef231b4241a2e67a /config-model/src/test/cfg/application/validation | |
parent | b0434818ef350079746b20d6f75b9f39ba96582d (diff) |
Enforce that reference fields must be an attribute
Diffstat (limited to 'config-model/src/test/cfg/application/validation')
2 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/cfg/application/validation/global_distribution_validation/searchdefinitions/simple.sd b/config-model/src/test/cfg/application/validation/global_distribution_validation/searchdefinitions/simple.sd index 49572be1cae..49223fabb76 100644 --- a/config-model/src/test/cfg/application/validation/global_distribution_validation/searchdefinitions/simple.sd +++ b/config-model/src/test/cfg/application/validation/global_distribution_validation/searchdefinitions/simple.sd @@ -1,6 +1,6 @@ # Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. search simple { document simple { - field my_reference type reference<parent> { indexing: summary } + field my_reference type reference<parent> { indexing: summary | attribute } } } diff --git a/config-model/src/test/cfg/application/validation/search_alltypes/searchdefinitions/simple.sd b/config-model/src/test/cfg/application/validation/search_alltypes/searchdefinitions/simple.sd index 05d8b735249..36d8012b38e 100644 --- a/config-model/src/test/cfg/application/validation/search_alltypes/searchdefinitions/simple.sd +++ b/config-model/src/test/cfg/application/validation/search_alltypes/searchdefinitions/simple.sd @@ -12,6 +12,6 @@ search simple { field my_byte type byte { indexing: summary } field my_predicate type predicate { indexing: summary } field my_tensor type tensor(x{}) { indexing: summary } - field my_reference type reference<parent> { indexing: summary } + field my_reference type reference<parent> { indexing: summary | attribute } } } |