aboutsummaryrefslogtreecommitdiffstats
path: root/application/src/test/app-packages/withqueryprofile/services.xml
blob: 0585b3b336b058de9a17300b02c85a7f31865743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version='1.0' encoding='UTF-8'?>
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<services>

    <container version="1.0">
        <!-- Avoid using DefaultLinguisticsProvider -->
        <component id="com.yahoo.language.simple.SimpleLinguistics" />

        <search>
            <chain id="default" inherits="vespa"/>
            <provider id="bar" type="local" cluster="foo">
                <searcher id="MockResultSearcher" class="com.yahoo.application.MockResultSearcher"/>
            </provider>
        </search>

        <accesslog type="disabled" />
    </container>

    <content version="1.0" id="foo">
        <redundancy>2</redundancy>
        <documents>
            <document type="mydoc" mode="index"/>
        </documents>
        <nodes>
            <node hostalias="node1" distribution-key="1"/>
        </nodes>
    </content>

</services>