Class QueryExpansionInfo (1.1.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.query_expansion_spec.pin_unexpanded_results][] is set to true.