aboutsummaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-06-25 16:32:49 +0200
committergjoranv <gv@verizonmedia.com>2021-06-25 16:32:49 +0200
commit594a70df003ac2b998e66d0be97fd0b49a99b47a (patch)
tree9318cdf0e589a6c319f1bec0961991b3bf7722c2 /application
parentd25995ae103887c9509cb8622429a50b9138a7f7 (diff)
Set up SimpleLinguistics for search apps to avoid the default.
Diffstat (limited to 'application')
-rw-r--r--application/src/test/app-packages/athenz-in-deployment-xml/services.xml3
-rw-r--r--application/src/test/app-packages/searcher-app/services.xml3
-rw-r--r--application/src/test/app-packages/withcontent/services.xml2
3 files changed, 8 insertions, 0 deletions
diff --git a/application/src/test/app-packages/athenz-in-deployment-xml/services.xml b/application/src/test/app-packages/athenz-in-deployment-xml/services.xml
index b7962bcbcc9..ad975ef9a78 100644
--- a/application/src/test/app-packages/athenz-in-deployment-xml/services.xml
+++ b/application/src/test/app-packages/athenz-in-deployment-xml/services.xml
@@ -1,5 +1,8 @@
<?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. -->
<container version='1.0'>
+ <!-- Avoid using DefaultLinguisticsProvider -->
+ <component id="com.yahoo.language.simple.SimpleLinguistics" />
+
<search/>
</container>
diff --git a/application/src/test/app-packages/searcher-app/services.xml b/application/src/test/app-packages/searcher-app/services.xml
index 5b9f4265b5a..8f0abe40e5b 100644
--- a/application/src/test/app-packages/searcher-app/services.xml
+++ b/application/src/test/app-packages/searcher-app/services.xml
@@ -1,6 +1,9 @@
<?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. -->
<container version='1.0'>
+ <!-- Avoid using DefaultLinguisticsProvider -->
+ <component id="com.yahoo.language.simple.SimpleLinguistics" />
+
<search>
<chain id="default">
<searcher id='com.yahoo.vespatest.ExtraHitSearcher' bundle='com.yahoo.vespatest.ExtraHitSearcher:1.2'>
diff --git a/application/src/test/app-packages/withcontent/services.xml b/application/src/test/app-packages/withcontent/services.xml
index 4338579b49a..7b3216a697f 100644
--- a/application/src/test/app-packages/withcontent/services.xml
+++ b/application/src/test/app-packages/withcontent/services.xml
@@ -3,6 +3,8 @@
<services>
<container version="1.0">
+ <!-- Avoid using DefaultLinguisticsProvider -->
+ <component id="com.yahoo.language.simple.SimpleLinguistics" />
<search>
<chain id="default" inherits="vespa"/>