Skip to content

Commit

Permalink
Merge pull request #3531 from vespa-engine/geirst/diversity-reference…
Browse files Browse the repository at this point in the history
…-attribute

Reference attribute can be used for diversity in Vespa 8.456.14.
  • Loading branch information
geirst authored Dec 13, 2024
2 parents 7f3fec1 + 2909779 commit 10aff8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/reference/schema-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -1769,7 +1769,7 @@ <h2 id="diversity">diversity</h2>
</ul>
<pre>
diversity {
attribute: [numeric attribute]
attribute: [attribute name]
min-groups: [integer]
}
</pre>
Expand All @@ -1781,7 +1781,7 @@ <h2 id="diversity">diversity</h2>
<td>
<p id="diversity-attribute">
Which attribute to use when deciding diversity.
The attribute referenced must be a single-valued numeric or string attribute.
The attribute must be a single-valued numeric, string or <a href="#reference">reference</a> type.
</p>
</td></tr>
<tr><td style="white-space: nowrap">min-groups</td>
Expand Down

0 comments on commit 10aff8e

Please sign in to comment.