-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1579 from vespa-engine/arnej/unify-cluster-names
Arnej/unify cluster names
- Loading branch information
Showing
7 changed files
with
71 additions
and
5 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
purchase.json |
6 changes: 6 additions & 0 deletions
6
examples/training-artifacts/101/ch3/part-purchase/.vespaignore
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file excludes unnecessary files from the application package. See | ||
# https://docs.vespa.ai/en/reference/vespaignore.html for more information. | ||
.DS_Store | ||
.gitignore | ||
README.md | ||
ext/ |
35 changes: 35 additions & 0 deletions
35
examples/training-artifacts/101/ch3/part-purchase/schemas/purchase.sd
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | ||
|
||
schema purchase { | ||
|
||
document purchase { | ||
|
||
field date type long { | ||
indexing: summary | attribute | ||
} | ||
|
||
field price type int { | ||
indexing: summary | attribute | ||
} | ||
|
||
field tax type double { | ||
indexing: summary | attribute | ||
} | ||
|
||
field item type string { | ||
indexing: summary | attribute | ||
} | ||
|
||
field customer type string { | ||
indexing: summary | attribute | ||
} | ||
|
||
} | ||
|
||
rank-profile default { | ||
first-phase { | ||
expression: attribute(price) | ||
} | ||
} | ||
|
||
} |
24 changes: 24 additions & 0 deletions
24
examples/training-artifacts/101/ch3/part-purchase/services.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright Vespa.ai. 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 /> | ||
<search /> | ||
<nodes> | ||
<node hostalias="node1" /> | ||
</nodes> | ||
</container> | ||
|
||
<content version="1.0"> | ||
<min-redundancy>2</min-redundancy> | ||
<documents> | ||
<document type="purchase" mode="index" /> | ||
</documents> | ||
<nodes> | ||
<node hostalias="node1" distribution-key="0" /> | ||
</nodes> | ||
</content> | ||
|
||
</services> | ||
|
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