From 2909779908906f9460a584985a7a266426101824 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Thu, 12 Dec 2024 16:12:56 +0100 Subject: [PATCH] Reference attribute can be used for diversity in Vespa 8.456.14. --- en/reference/schema-reference.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/reference/schema-reference.html b/en/reference/schema-reference.html index 568bffaa37..4b8c66ab11 100644 --- a/en/reference/schema-reference.html +++ b/en/reference/schema-reference.html @@ -1769,7 +1769,7 @@

diversity

 diversity {
-    attribute: [numeric attribute]
+    attribute: [attribute name]
     min-groups: [integer]
 }
 
@@ -1781,7 +1781,7 @@

diversity

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 reference type.

min-groups