Skip to content

Commit b00b00b

Browse files
authored
Merge pull request #4793 from vespa-engine/hmusum/deprecate-field-path-updates-with-variable-substitution
Deprecate variable substitution in field path updates
2 parents 48559a3 + 6fe29f0 commit b00b00b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

en/reference/schemas/document-field-path.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h2 id="maps-weighted-sets">Maps/weighted Sets</h2>
4848
</tr><tr>
4949
<th>&lt;mapfield&gt;{$&lt;variablename&gt;}</th>
5050
<td>Retrieve all values, setting the <a href="#variables">variable</a>
51-
to the key value for each</td>
51+
to the key value for each. {% include deprecated.html content="Deprecated, will be removed in Vespa 9."%}</td>
5252
</tr><tr>
5353
<th>&lt;mapfield&gt;.key</th>
5454
<td>Retrieve all key values</td>
@@ -76,7 +76,7 @@ <h2 id="array">Array</h2>
7676
</tr><tr>
7777
<th>&lt;arrayfield&gt;[$&lt;variablename&gt;]</th>
7878
<td>Retrieve all values in the array, setting the <a href="#variables">variable</a>
79-
to the index of each</td>
79+
to the index of each. {% include deprecated.html content="Deprecated, will be removed in Vespa 9."%}</td>
8080
</tr><tr>
8181
<th>&lt;arrayfield&gt;</th>
8282
<td>Retrieve all values in the array</td>
@@ -107,6 +107,7 @@ <h2 id="struct">Struct</h2>
107107

108108
<h2 id="variables">Variables</h2>
109109
<p>
110+
{% include deprecated.html content="Deprecated, will be removed in Vespa 9."%}
110111
It can be useful to reference several field paths using a common variable.
111112
For instance, if you have an array of structs,
112113
you may want to use document selection on fields within the same array index together.

0 commit comments

Comments
 (0)