diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-09-08 11:08:03 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-09-08 11:08:03 +0200 |
commit | 25ae5f7e4533a84f6d1e1c70690e8bd2d1d6015c (patch) | |
tree | 99b8b4517087416c9b15dd1336233c5ef1334fe0 /configserver/src/test/apps | |
parent | 65e4c52d21c7d3b6d61d18100f61cfc030145787 (diff) |
Remove stray files
Diffstat (limited to 'configserver/src/test/apps')
4 files changed, 0 insertions, 101 deletions
diff --git a/configserver/src/test/apps/tensor_constant/schemas/music.sd b/configserver/src/test/apps/tensor_constant/schemas/music.sd deleted file mode 100644 index 7670e78f22b..00000000000 --- a/configserver/src/test/apps/tensor_constant/schemas/music.sd +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -# A basic search definition - called music, should be saved to music.sd -search music { - - # It contains one document type only - called music as well - document music { - - field title type string { - indexing: summary | index # How this field should be indexed - # index-to: title, default # Create two indexes - weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature - } - - field artist type string { - indexing: summary | attribute | index - # index-to: artist, default - - weight: 25 - } - - field year type int { - indexing: summary | attribute - } - - # Increase query - field popularity type int { - indexing: summary | attribute - } - - field url type uri { - indexing: summary | index - } - - } - - rank-profile default inherits default { - first-phase { - expression: nativeRank(title,artist) + attribute(popularity) - } - - } - - rank-profile textmatch inherits default { - first-phase { - expression: nativeRank(title,artist) - } - - } - -} diff --git a/configserver/src/test/apps/tensor_constant/schemas/smallconstant.sd b/configserver/src/test/apps/tensor_constant/schemas/smallconstant.sd deleted file mode 100644 index 8c66ab51b2b..00000000000 --- a/configserver/src/test/apps/tensor_constant/schemas/smallconstant.sd +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -search smallconstant { - - document smallconstant { - } - - constant my_tensor { - file: search/tensor_constant.json - type: tensor(x{}) - } - - rank-profile my_profile { - first-phase { - expression: sum(my_tensor) - } - } - -} diff --git a/configserver/src/test/apps/tensor_constant/search/tensor_constant.json b/configserver/src/test/apps/tensor_constant/search/tensor_constant.json deleted file mode 100644 index 6f3551ea9c6..00000000000 --- a/configserver/src/test/apps/tensor_constant/search/tensor_constant.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "cells": [ - {"address":{"x":"1"}, "value":1 }, - {"address":{"x":"2"}, "value":2} - ] -} diff --git a/configserver/src/test/apps/tensor_constant/services.xml b/configserver/src/test/apps/tensor_constant/services.xml deleted file mode 100644 index 5f755d225ce..00000000000 --- a/configserver/src/test/apps/tensor_constant/services.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> -<services version="1.0"> - - <admin version="2.0"> - <adminserver hostalias="node1"/> - <logserver hostalias="node1" /> - </admin> - - <content version="1.0"> - <redundancy>2</redundancy> - <documents> - <document type="music" mode="index"/> - <document type="smallconstant" mode="index"/> - </documents> - <nodes> - <node hostalias="node1" distribution-key="0"/> - </nodes> - </content> - - <container version="1.0"> - <nodes> - <node hostalias="node1" /> - </nodes> - </container> - -</services> |