Created
March 9, 2021 13:44
-
-
Save wabzqem/98faf22c21019bf781eba457d2a1f402 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Copyright 2019 Oath 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="admin0"/> | |
<configservers> | |
<configserver hostalias="admin0"/> | |
</configservers> | |
</admin> | |
<container id="text_search" version="1.0"> | |
<document-api/> | |
<search> | |
<chain id="related" inherits="vespa"> | |
<searcher id="org.ausnews.search.searcher.RelatedArticlesSearcher" bundle="ausnews-search"/> | |
</chain> | |
<!-- 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> | |
<chain id="default"> | |
<documentprocessor id="org.ausnews.search.processor.ArticleProcessor" bundle="ausnews-search"/> | |
</chain> | |
</document-processing> | |
<!-- <component id="com.yahoo.language.simple.SimpleLinguistics"/> --> | |
<nodes jvmargs="-Xms512m -Xmx512m"> | |
<node hostalias='container0'/><node hostalias='container1'/><node hostalias='container2'/> | |
</nodes> | |
</container> | |
<content id="newsarticle" 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 reply-after='1'>1</redundancy> | |
<documents> | |
<document type='newsarticle' mode="index"/> | |
<document-processing cluster="text_search"/> | |
</documents> | |
<nodes> | |
<node hostalias='content0' distribution-key='0' /><node hostalias='content1' distribution-key='1' /> | |
</nodes> | |
<engine> | |
<proton> | |
<tuning> | |
<searchnode> | |
<requestthreads> | |
<persearch>4</persearch> | |
</requestthreads> | |
</searchnode> | |
</tuning> | |
</proton> | |
</engine> | |
</content> | |
</services> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment