Class QueryExpansionInfo (1.23.0)

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

Information describing query expansion including whether expansion has occurred.

Attributes

Name Description
expanded_query bool
Bool describing whether query expansion has occurred.
pinned_result_count int
Number of pinned results. This field will only be set when expansion happens and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.