Skip to content

SuggestRequest

Source code in docs_src/capo_cloudsearch_domain/types/suggest_request.py
class SuggestRequest(TypedDict, closed=True):
    query: "capo_cloudsearch_domain.types.query.Query"
    """<p>Specifies the string for which you want to get suggestions.</p>"""
    suggester: "capo_cloudsearch_domain.types.suggester.Suggester"
    """<p>Specifies the name of the suggester to use to find suggested matches.</p>"""
    size: "capo_cloudsearch_domain.types.suggestions_size.SuggestionsSize"
    """<p>Specifies the maximum number of suggestions to return. </p>"""

query instance-attribute

query: Query

Specifies the string for which you want to get suggestions.

size instance-attribute

Specifies the maximum number of suggestions to return.

suggester instance-attribute

suggester: Suggester

Specifies the name of the suggester to use to find suggested matches.