diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
commit | 72231250ed81e10d66bfe70701e64fa5fe50f712 (patch) | |
tree | 2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /config-model/src/test/cfg/search/data/travel |
Publish
Diffstat (limited to 'config-model/src/test/cfg/search/data/travel')
3 files changed, 39 insertions, 0 deletions
diff --git a/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTData.sd b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTData.sd new file mode 100644 index 00000000000..274b03f247a --- /dev/null +++ b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTData.sd @@ -0,0 +1,10 @@ +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +# Basic search definition for Travel Attraction (self) facet + +search TTData { + document TTData inherits TTPOI,TTEdge { + + } + +} + 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 new file mode 100644 index 00000000000..ce22f2f77ec --- /dev/null +++ b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTEdge.sd @@ -0,0 +1,10 @@ +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +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 new file mode 100644 index 00000000000..d8308df4c7f --- /dev/null +++ b/config-model/src/test/cfg/search/data/travel/searchdefinitions/TTPOI.sd @@ -0,0 +1,19 @@ +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +document TTPOI { + +# categories associated with the POI + 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 + } +} + + |