blob: e879c3d4595d85d74b5ff2d8d84e7346ce9f8fa4 (
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
33
34
35
36
37
38
39
40
|
<?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">
<container id="default" version="1.0">
<document-api /> <!-- Enable feed endpoint -->
<search>
<chain inherits="vespa" id="default">
<searcher id="com.yahoo.demo.DemoSearcher" bundle="sample-app-http-api-searcher">
<config name="demo.demo">
<demo>
<item>
<term>smurf</term>
</item>
</demo>
</config>
</searcher>
</chain>
<renderer id="demo" class="com.yahoo.demo.DemoRenderer" bundle="sample-app-http-api-searcher"/>
</search>
<handler id="com.yahoo.demo.DemoHandler" bundle="sample-app-http-api-searcher">
<binding>http://*:8080/demo</binding>
</handler>
<component id="com.yahoo.demo.DemoComponent" bundle="sample-app-http-api-searcher"/>
<nodes>
<node hostalias="node1"/>
</nodes>
</container>
<content id="logical" version="1.0">
<redundancy>1</redundancy>
<documents>
<document mode="index" type="basic"/>
</documents>
<nodes>
<node distribution-key="0" hostalias="node1"/>
</nodes>
</content>
</services>
|