Class SummarySpec (0.9.0)

SummarySpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The specification that configs the summary in the search response.

Attribute

NameDescription
summary_result_count int
The number of top results the summary should be generated from. If the number of returned results is less than summary_result_count, then the summary would be derived from all the results; otherwise, the summary would be derived from the top results. At most 5 results can be used for generating summary.