Skip to content

Commit

Permalink
Merge pull request #3559 from vespa-engine/kkraune-patch-1
Browse files Browse the repository at this point in the history
add services.xml to example
  • Loading branch information
kkraune authored Jan 3, 2025
2 parents 4434458 + 525f404 commit 8eb59b4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions en/parent-child.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,18 @@ <h2 id="parent-or-multivalue">Parent or multivalue?</h2>


<h2 id="parent-child-example">Parent/child example</h2>
<p>In services.xml:</p>
<pre>{% highlight xml %}
<content id="mycluster" version="1.0">
<documents>
<document type="advertiser" mode="index" global="true" />
<document type="campaign" mode="index" global="true" />
<document type="salesperson" mode="index" global="true" />
<document type="ad" mode="index" />
</documents>
{% endhighlight %}</pre>
<pre>
<p>Schemas and data:</p>
schema advertiser {
document advertiser {
field name type string {
Expand Down

0 comments on commit 8eb59b4

Please sign in to comment.