Skip to content

Commit

Permalink
Merge pull request #3454 from vespa-engine/kkraune/ids
Browse files Browse the repository at this point in the history
fix ids
  • Loading branch information
kkraune authored Oct 30, 2024
2 parents 79aef40 + e47baea commit 8ec224a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion en/embedding.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2 id="embedding-a-query-text">Embedding a query text</h2>
<h2 id="embedding-a-document-field">Embedding a document field</h2>

<p>Use the <code><a href="reference/indexing-language-reference.html#embed">embed</a></code> function
of the <a href="reference/indexing-language-reference.html#statement">indexing language</a>
of the <a href="reference/indexing-language-reference.html#indexing-statement">indexing language</a>
to convert string into embeddings:

<pre>
Expand Down
20 changes: 10 additions & 10 deletions en/reference/indexing-language-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@



<h2 id="script">Indexing script</h2>
<h2 id="indexing-script">Indexing script</h2>
<p>
An indexing script is a sequence of <a href="#statement">indexing
An indexing script is a sequence of <a href="#indexing-statement">indexing
statements</a> separated by a semicolon (<code>;</code>). A script is
executed statement-by-statement, in order, one document at a time.
</p><p>
Expand All @@ -48,9 +48,9 @@ <h2 id="script">Indexing script</h2>



<h2 id="statement">Indexing statement</h2>
<h2 id="indexing-statement">Indexing statement</h2>
<p>
An indexing statement is a sequence of <a href="#expression">indexing
An indexing statement is a sequence of <a href="#indexing-expression">indexing
expressions</a> separated by a pipe (<code>|</code>).
A statement is executed expression-by-expression, in order.
</p><p>
Expand All @@ -70,17 +70,17 @@ <h2 id="statement">Indexing statement</h2>



<h2 id="expression">Indexing expression</h2>
<h2 id="indexing-expression">Indexing expression</h2>


<h3 id="primitive">Primitives</h3>
<h3 id="primitives">Primitives</h3>

<p>
A string, numeric literal and true/false can be used as an expression to explicitly
set the execution value. Examples: <code>"foo"</code>, <code>69</code>, <code>true</code>).
</p>

<h3 id="output">Outputs</h3>
<h3 id="outputs">Outputs</h3>
<p>
An output expression is an expression that writes the current execution
value to a document field. These expressions also double as the indicator
Expand Down Expand Up @@ -122,7 +122,7 @@ <h3 id="output">Outputs</h3>
</table>


<h3 id="arithmetic">Arithmetics</h3>
<h3 id="arithmetics">Arithmetics</h3>
<p>
Indexing statements can contain any combination of arithmetic operations,
as long as the operands are numeric values. In case you need to convert
Expand Down Expand Up @@ -201,7 +201,7 @@ <h3 id="arithmetic">Arithmetics</h3>



<h3 id="converter">Converters</h3>
<h3 id="converters">Converters</h3>

<p>There are several expressions that allow you to convert from one data type to another.
These are often used within a <code>for_each</code> to convert
Expand Down Expand Up @@ -362,7 +362,7 @@ <h3 id="converter">Converters</h3>
</table>


<h3 id="other">Other expressions</h3>
<h3 id="other-expressions">Other expressions</h3>
<p>
The following are the unclassified expressions available:
</p>
Expand Down

0 comments on commit 8ec224a

Please sign in to comment.