summaryrefslogtreecommitdiffstats
path: root/sample-apps/basic-search-tensor/src/main/application/services.xml
blob: 246ffff94de1703c5fd17dae1d37aa03e7037b1d (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
30
31
32
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 Yahoo Inc. 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"/>
    </admin>

    <jdisc version="1.0">
        <search>
            <chain id="default" inherits="vespa">
                <searcher id="com.yahoo.example.ExampleTensorSearcher" bundle="basic-search-java" />
            </chain>
        </search>
        <document-api/>
        <nodes>
            <node hostalias="node1"/>
        </nodes>
    </jdisc>

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

</services>