From b474af64419f87d670ccefbfbba569b73881f8a0 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Tue, 13 Aug 2019 11:02:19 +0200 Subject: 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 --- .../src/test/cfg/search/data/travel/searchdefinitions/TTEdge.sd | 1 - config-model/src/test/cfg/search/data/travel/searchdefinitions/TTPOI.sd | 2 -- .../search/data/v2/inherited_rankprofiles/searchdefinitions/music.sd | 2 -- 3 files changed, 5 deletions(-) (limited to 'config-model/src/test/cfg/search') 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 { 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 { indexing: summary | index # index-to: Categories - header } # sub catagories associated with the POI field SubCategories type array { 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 } } } -- cgit v1.2.3