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.

SearchOutput

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

type SearchOutput struct { Facets map[string]*BucketInfo `locationName:"facets" type:"map"` Hits *Hits `locationName:"hits" type:"structure"` Stats map[string]*FieldStats `locationName:"stats" type:"map"` Status *SearchStatus `locationName:"status" type:"structure"` }

The result of a Search request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.

Facets

Type: map[string]*BucketInfo

The requested facet information.

Hits

The collection of documents that match the search request.

Stats

Type: map[string]*FieldStats

The requested field statistics information.

Status

Contains the resource id (rid) and the time it took to process the request (timems).

Method

GoString

func (s SearchOutput) GoString() string

GoString returns the string representation

SetFacets

func (s *SearchOutput) SetFacets(v map[string]*BucketInfo) *SearchOutput

SetFacets sets the Facets field's value.

SetHits

func (s *SearchOutput) SetHits(v *Hits) *SearchOutput

SetHits sets the Hits field's value.

SetStats

func (s *SearchOutput) SetStats(v map[string]*FieldStats) *SearchOutput

SetStats sets the Stats field's value.

SetStatus

func (s *SearchOutput) SetStatus(v *SearchStatus) *SearchOutput

SetStatus sets the Status field's value.

String

func (s SearchOutput) String() string

String returns the string representation

On this page: