Skip to content

Commit

Permalink
Use min-redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Aune committed Sep 29, 2023
1 parent 82af585 commit 3d10914
Show file tree
Hide file tree
Showing 44 changed files with 48 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
- Reference: https://docs.vespa.ai/en/reference/services-content.html
-->
<content id="music" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
</documents>
Expand Down
2 changes: 1 addition & 1 deletion album-recommendation/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
- Reference: https://docs.vespa.ai/en/reference/services-content.html
-->
<content id="music" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
</documents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</container>

<content id='graph' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='centroid'/>
<document-processing cluster='feed' chain='neighbor-assigner'/>
Expand All @@ -92,7 +92,7 @@
</content>

<content id='if' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='image'/>
<document-processing cluster='feed' chain='neighbor-assigner'/>
Expand Down
4 changes: 2 additions & 2 deletions billion-scale-image-search/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</container>

<content id='graph' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='centroid'/>
<document-processing cluster='default' chain='neighbor-assigner'/>
Expand All @@ -63,7 +63,7 @@
</content>

<content id='if' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='image'/>
<document-processing cluster='default' chain='neighbor-assigner'/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</container>

<content id='graph' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='vector' selection='vector.in_graph==true'/>
<document-processing cluster='feed' chain='neighbor-assigner' />
Expand All @@ -58,7 +58,7 @@
</content>

<content id='if' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='vector' selection='vector.in_graph==false'/>
<document-processing cluster='feed' chain='neighbor-assigner' />
Expand Down
4 changes: 2 additions & 2 deletions billion-scale-vector-search/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</container>

<content id='graph' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='vector' selection='vector.in_graph==true'/>
<document-processing cluster='default' chain='neighbor-assigner' />
Expand All @@ -38,7 +38,7 @@
</content>

<content id='if' version='1.0'>
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='vector' selection='vector.in_graph==false'/>
<document-processing cluster='default' chain='neighbor-assigner' />
Expand Down
2 changes: 1 addition & 1 deletion commerce-product-ranking/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</container>

<content id="content" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="product" mode="index" />
</documents>
Expand Down
2 changes: 1 addition & 1 deletion custom-embeddings/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<!-- See https://docs.vespa.ai/en/reference/services-content.html -->
<content id="content" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="doc" mode="index" />
</documents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<search>
<visibility-delay>1</visibility-delay>
</search>
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document mode='index' type='wiki'/>
<document-processing cluster="default" chain="bert-tensorizer" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</container>

<content id="musiccluster" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
<document type="lyrics" mode="index" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</nodes>
</container>
<content id="doc_content" version="1.0">
<redundancy reply-after="1">1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document type="doc" mode="index"></document>
</documents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</nodes>
</container>
<content id="music" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
</documents>
Expand Down
2 changes: 1 addition & 1 deletion examples/joins/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</container>

<content id="content" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="base" mode="index" />
<document type="title" mode="index" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<search/>
</container>
<content id="content" version="1.0">
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document type="lucene" mode="index"/>
<document-processing cluster="container"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<search/>
</container>
<content id="content" version="1.0">
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document type="lucene" mode="index"/>
<document-processing cluster="container"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<search/>
</container>
<content id="content" version="1.0">
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document type="lucene" mode="index"/>
<document-processing cluster="container"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/lucene-linguistics/non-java/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<search/>
</container>
<content id="content" version="1.0">
<redundancy>1</redundancy>
<min-redundancy>1</min-redundancy>
<documents>
<document type="lucene" mode="index"/>
<document-processing cluster="container"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/model-deployment/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</nodes>
</container>
<content id="doc" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="doc" mode="index" />
</documents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CONTAINER
</container>

<content id="music" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
<document-processing cluster="container"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/operations/multinode-HA/gke/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</container>

<content id="music" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
<document-processing cluster="feed" />
Expand Down
2 changes: 1 addition & 1 deletion examples/operations/multinode-HA/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</container>

<content id="music" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
<document-processing cluster="feed" />
Expand Down
2 changes: 1 addition & 1 deletion examples/operations/multinode-HA/services.xml.secure
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</container>

<content id="music" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="music" mode="index" />
<document-processing cluster="feed" />
Expand Down
2 changes: 1 addition & 1 deletion examples/operations/multinode/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</container>

<content id="music" version="1.0">
<redundancy>3</redundancy>
<min-redundancy>3</min-redundancy>
<engine>
<proton>
<searchable-copies>3</searchable-copies>
Expand Down
2 changes: 1 addition & 1 deletion examples/part-purchases-demo/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</container>

<content id="content" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="purchase" mode="index" />
</documents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</container>

<content version="1.0" id="users">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="user" mode="index" />
</documents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</container>

<content id="documentation" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document mode="index" type="doc"/>
</documents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</container>

<content id="documentation" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document mode="index" type="term"/>
</documents>
Expand Down
2 changes: 1 addition & 1 deletion model-inference/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<!-- Add a content cluster to searchers and document processors -->
<content id="mycluster" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="mydoc" mode="index" />
</documents>
Expand Down
2 changes: 1 addition & 1 deletion msmarco-ranking/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
</container>

<content id="msmarco" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document mode="index" type="doc"/>
<document mode="index" type="passage"/>
Expand Down
2 changes: 1 addition & 1 deletion multi-vector-indexing/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<!-- See https://docs.vespa.ai/en/reference/services-content.html -->
<content id="articles" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="wiki" mode="index" />
</documents>
Expand Down
2 changes: 1 addition & 1 deletion multilingual-search/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<!-- See https://docs.vespa.ai/en/reference/services-content.html -->
<content id="content" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="doc" mode="index" />
</documents>
Expand Down
2 changes: 1 addition & 1 deletion news/app-1-getting-started/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</container>

<content id='mind' version='1.0'>
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type='news' mode="index"/>
</documents>
Expand Down
2 changes: 1 addition & 1 deletion news/app-2-feed-and-query/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</container>

<content id='mind' version='1.0'>
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type='news' mode="index"/>
</documents>
Expand Down
2 changes: 1 addition & 1 deletion news/app-3-searching/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</container>

<content id='mind' version='1.0'>
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type='news' mode="index"/>
</documents>
Expand Down
2 changes: 1 addition & 1 deletion news/app-5-recommendation/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</container>

<content id='mind' version='1.0'>
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type='news' mode="index"/>
<document type='user' mode="index"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</container>

<content id='mind' version='1.0'>
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type='news' mode="index"/>
<document type='user' mode="index"/>
Expand Down
2 changes: 1 addition & 1 deletion news/app-7-parent-child/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</container>

<content id='mind' version='1.0'>
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type='news' mode="index"/>
<document type='user' mode="index"/>
Expand Down
2 changes: 1 addition & 1 deletion semantic-qa-retrieval/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</container>

<content id="content" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="sentence" mode="index" />
<document type="context" mode="index" />
Expand Down
2 changes: 1 addition & 1 deletion simple-semantic-search/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<!-- See https://docs.vespa.ai/en/reference/services-content.html -->
<content id="text" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="doc" mode="index" />
</documents>
Expand Down
2 changes: 1 addition & 1 deletion text-image-search/src/main/application/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Add a content cluster to searchers and document processors -->
<content id="mycluster" version="1.0">
<redundancy>2</redundancy>
<min-redundancy>2</min-redundancy>
<documents>
<document type="image_search" mode="index" />
</documents>
Expand Down
Loading

0 comments on commit 3d10914

Please sign in to comment.