diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index b58cfa578d5d2af842198afb1a3d19e3c46e6ea7..90a3460a7122ab2262cf82e51024776b4214749c 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -12923,6 +12923,11 @@ SELECT xmlagg(x) FROM (SELECT x FROM test ORDER BY y DESC) AS tab;
    simply produces a null result.
   </para>
 
+  <indexterm>
+   <primary>hypothetical-set aggregate</primary>
+   <secondary>built-in</secondary>
+  </indexterm>
+
   <para>
    Each of the aggregates listed in
    <xref linkend="functions-hypothetical-table"> is associated with a