Class QueryExpansionInfo (1.7.0)

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

Information describing query expansion including whether expansion has occurred.

Attributes

NameDescription
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.

Inheritance

builtins.object > proto.message.Message > QueryExpansionInfo