aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/search
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2019-08-13 11:02:19 +0200
committerHarald Musum <musum@verizonmedia.com>2019-08-13 11:02:19 +0200
commitb474af64419f87d670ccefbfbba569b73881f8a0 (patch)
tree08de9ad9ae8b05b14a39d4f3c008e3ea44be3412 /config-model/src/test/cfg/search
parentda40dcac37db31e808b4c192e0436b4b491e5ed8 (diff)
Remove header and body from search definitions
Remove from .sd files used in tests, add test that checks that header and body still is allowed
Diffstat (limited to 'config-model/src/test/cfg/search')
-rw-r--r--config-model/src/test/cfg/search/data/travel/searchdefinitions/TTEdge.sd1
-rw-r--r--config-model/src/test/cfg/search/data/travel/searchdefinitions/TTPOI.sd2
-rw-r--r--config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/searchdefinitions/music.sd2
3 files changed, 0 insertions, 5 deletions
diff --git a/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTEdge.sd b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTEdge.sd
index 8cc6d05584c..e6707345235 100644
--- a/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTEdge.sd
+++ b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTEdge.sd
@@ -4,7 +4,6 @@ document TTEdge {
# This field will contain a colon separate map for travel times per transport mode
field TransportMode type array<string> {
indexing: summary | index
- header
}
}
diff --git a/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTPOI.sd b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTPOI.sd
index 0cb0596b31c..c39ef03add5 100644
--- a/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTPOI.sd
+++ b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTPOI.sd
@@ -5,14 +5,12 @@ document TTPOI {
field Categories type array<string> {
indexing: summary | index
# index-to: Categories
- header
}
# sub catagories associated with the POI
field SubCategories type array<string> {
indexing: summary | index
# index-to: SubCategories
- header
}
}
diff --git a/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/searchdefinitions/music.sd b/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/searchdefinitions/music.sd
index 0d3859b65a0..da9e2d14c55 100644
--- a/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/searchdefinitions/music.sd
+++ b/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/searchdefinitions/music.sd
@@ -4,12 +4,10 @@ search music {
field f1 type string {
indexing: summary | index
# index-to: f1, all
- header
}
field f2 type string {
indexing: summary | index
# index-to: f2, all
- body
}
}
}