AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Hit

import "github.com/aws/aws-sdk-go/service/cloudsearchdomain"

type Hit struct { Exprs map[string]*string `locationName:"exprs" type:"map"` Fields map[string][]*string `locationName:"fields" type:"map"` Highlights map[string]*string `locationName:"highlights" type:"map"` Id *string `locationName:"id" type:"string"` }

Information about a document that matches the search request.

Exprs

Type: map[string]*string

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

Fields

Type: map[string][]*string

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

Highlights

Type: map[string]*string

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

Id

Type: *string

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

Method

GoString

func (s Hit) GoString() string

GoString returns the string representation

SetExprs

func (s *Hit) SetExprs(v map[string]*string) *Hit

SetExprs sets the Exprs field's value.

SetFields

func (s *Hit) SetFields(v map[string][]*string) *Hit

SetFields sets the Fields field's value.

SetHighlights

func (s *Hit) SetHighlights(v map[string]*string) *Hit

SetHighlights sets the Highlights field's value.

SetId

func (s *Hit) SetId(v string) *Hit

SetId sets the Id field's value.

String

func (s Hit) String() string

String returns the string representation

On this page: