Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (37 sloc) 1.49 KB
<?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.mydomain.demo.DemoSearcher" bundle="http-api-using-searcher">
<config name="com.mydomain.demo.demo">
<demo>
<item>
<term>smurf</term>
</item>
</demo>
</config>
</searcher>
</chain>
<renderer id="demo" class="com.mydomain.demo.DemoRenderer" bundle="http-api-using-searcher"/>
</search>
<handler id="com.mydomain.demo.DemoHandler" bundle="http-api-using-searcher">
<binding>http://*:8080/demo</binding>
</handler>
<component id="com.mydomain.demo.DemoComponent" bundle="http-api-using-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>