Found in elastic/elasticsearch-java#544
The definition of SignificantTextAggregation.include: string|string[] does not represent the usual array leniency. Both variants have a specific meaning, resp. regexp and term list.
It should be typed as TermsInclude.
(Version 8.9.2)