Skip to content

Hit

Source code in docs_src/capo_cloudsearch_domain/types/hit.py
class Hit(TypedDict, closed=True):
    id: NotRequired["capo_cloudsearch_domain.types.string.String"]
    """<p>The document ID of a document that matches the search request.</p>"""
    fields: NotRequired["capo_cloudsearch_domain.types.fields.Fields"]
    """<p>The fields returned from a document that matches the search request.</p>"""
    exprs: NotRequired["capo_cloudsearch_domain.types.exprs.Exprs"]
    """<p>The expressions returned from a document that matches the search request.</p>"""
    highlights: NotRequired["capo_cloudsearch_domain.types.highlights.Highlights"]
    """<p>The highlights returned from a document that matches the search request.</p>"""

exprs instance-attribute

exprs: NotRequired[Exprs]

The expressions returned from a document that matches the search request.

fields instance-attribute

fields: NotRequired[Fields]

The fields returned from a document that matches the search request.

highlights instance-attribute

highlights: NotRequired[Highlights]

The highlights returned from a document that matches the search request.

id instance-attribute

id: NotRequired[String]

The document ID of a document that matches the search request.