Skip to content

Commit

Permalink
Merge pull request #3287 from vespa-engine/kkraune/links
Browse files Browse the repository at this point in the history
Kkraune/links
  • Loading branch information
bratseth authored Aug 2, 2024
2 parents ddcda20 + c9e781a commit e76e601
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions en/reference/services-processing.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
<a href="#before">before</a>
<a href="#after">after</a>
<a href="#inherits">inherits</a>
<a href="#excludes">excludes</a>
<a href="#chain">chain</a>
<a href="#exclude">exclude</a>
<a href="#phase">phase [id, before, after]</a>
<a href="#before">before</a>
<a href="#after">after</a>
Expand Down Expand Up @@ -233,7 +234,7 @@ <h2 id="chain">chain</h2>
<td>
<p id="chain.inherits">
A space-separated list of chains this chain should include the contents of -
see <a href="#inherits">inherits</a>
see example below.
</p>
</td></tr>
<tr><th>excludes</th>
Expand All @@ -243,8 +244,13 @@ <h2 id="chain">chain</h2>
<td>
<p id="chain.excludes">
A space-separated list of processors (contained in an inherited chain) this chain should not include.
The exclusion is done before any consolidation of component references when inheriting chains.
See <a href="#excludes">excludes</a>
The exclusion is done before any consolidation of component references when inheriting chains. Example:
<pre>
&lt;chain id="demo" inherits="idOfInheritedChain"
excludes="idOfProc1 idOfProc2"&gt;
&lt;processor id="proc2" class="com.yahoo.test.Proc2"/&gt;
&lt;/chain&gt;
</pre>
</p>
</td></tr>
<tr><th>class</th>
Expand All @@ -270,13 +276,9 @@ <h2 id="chain">chain</h2>

<h2 id="inherits">inherits</h2>
<p>
Inherit from one or more parent chain(s). Example:
Inherit from one or more parent chain(s).
</p>
<pre>
&lt;chain id="demo" inherits="idOfSomeInheritedChain idOfYetAnotherChain"&gt;
&lt;processor id="processor2" class="com.yahoo.test.Processor2"/&gt;
&lt;/chain&gt;
</pre>
<!-- ToDo: make example -->
<p>
When a search chain inherits from another search chain, it subsumes the phases
and the <em>searcher references</em> (both implicitly and explicitly defined) from the
Expand Down Expand Up @@ -304,16 +306,11 @@ <h2 id="inherits">inherits</h2>



<h2 id="excludes">excludes</h2>
<h2 id="exclude">exclude</h2>
<p>
Exclude components from inherited chains. Example:
Exclude components from inherited chains.
</p>
<pre>
&lt;chain id="demo" inherits="idOfSomeInheritedChain" excludes="idOfUnwantedProcessor idOfYetAnotherUnwantedProcessor"&gt;
&lt;processor id="processor2" class="com.yahoo.test.Processor2"/&gt;
&lt;/chain&gt;
</pre>

<!-- ToDo: make example -->


<h2 id="phase">phase</h2>
Expand Down

0 comments on commit e76e601

Please sign in to comment.