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.

Hits

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

type Hits struct { Cursor *string `locationName:"cursor" type:"string"` Found *int64 `locationName:"found" type:"long"` Hit []*Hit `locationName:"hit" type:"list"` Start *int64 `locationName:"start" type:"long"` }

The collection of documents that match the search request.

Cursor

Type: *string

A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.

Found

Type: *int64

The total number of documents that match the search request.

Hit

Information about a document that matches the search request.

Start

Type: *int64

The index of the first matching document.

Method

GoString

func (s Hits) GoString() string

GoString returns the string representation

SetCursor

func (s *Hits) SetCursor(v string) *Hits

SetCursor sets the Cursor field's value.

SetFound

func (s *Hits) SetFound(v int64) *Hits

SetFound sets the Found field's value.

SetHit

func (s *Hits) SetHit(v []*Hit) *Hits

SetHit sets the Hit field's value.

SetStart

func (s *Hits) SetStart(v int64) *Hits

SetStart sets the Start field's value.

String

func (s Hits) String() string

String returns the string representation

On this page: