blob: 60267517c3326fc7129c465be60260bb2a9b562f (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?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 version="1.0">
<container id="text_search" version="1.0">
<document-api/>
<search>
<!-- Config for bolding in search result snippets -->
<config name="container.qr-searchers">
<tag>
<bold>
<open><strong></open>
<close></strong></close>
</bold>
<separator>...</separator>
</tag>
</config>
</search>
<document-processing/>
<component id="com.yahoo.language.simple.SimpleLinguistics"/>
<handler id="ai.vespa.example.text_search.site.SiteHandler" bundle="text-search">
<binding>http://*/site/*</binding>
<binding>http://*/site</binding>
<config name="ai.vespa.example.text_search.site.site-handler">
<vespaHostName>localhost</vespaHostName>
<vespaHostPort>8080</vespaHostPort>
</config>
</handler>
<nodes>
<node hostalias="node1" />
<jvm options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:8998"/>
</nodes>
</container>
<content id="msmarco" version="1.0">
<!-- Config for search result snippets -->
<config name="vespa.config.search.summary.juniperrc">
<max_matches>2</max_matches>
<length>1000</length>
<surround_max>500</surround_max>
<min_length>300</min_length>
</config>
<redundancy>2</redundancy>
<documents>
<document type='msmarco' mode="index"/>
<document-processing cluster="text_search"/>
</documents>
<nodes>
<node distribution-key='0' hostalias='node1'/>
</nodes>
</content>
</services>
|