Class GuidedSearchSpec (0.11.12)

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

Defines guided search spec.

Attributes

Name Description
enable_refinement_attributes bool
Whether or not to enable and include refinement attributes in gudied search result.
enable_related_questions bool
Whether or not to enable and include related questions in search response.
max_related_questions int
Max number of related questions to be returned. The valid range is [1, 5]. If enable_related_questions is true, the default value is 3.