aboutsummaryrefslogtreecommitdiffstats
path: root/application/src/test/app-packages/withcontent/services.xml
blob: 5776d65d1e12230adc1a7a2400ad18dc02a2358a (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 Yahoo. 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>

      <!-- TODO ..
      <document-processing>
          <chain id="default">
              <documentprocessor id="TestDocProc" class="com.yahoo.application.TestDocProc">
                  <config name="foo.something">
                      <variable>value</variable>
                  </config>
              </documentprocessor>
          </chain>
      </document-processing>
      -->
    <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>