Versions in this module Expand all Collapse all v1 v1.48.2 Nov 21, 2023 Changes in this version + const ContentTypeApplicationJson + const ContentTypeApplicationXml + const EndpointsID + const ErrCodeDocumentServiceException + const ErrCodeSearchException + const QueryParserDismax + const QueryParserLucene + const QueryParserSimple + const QueryParserStructured + const ServiceID + const ServiceName + func ContentType_Values() []string + func QueryParser_Values() []string + type Bucket struct + Count *int64 + Value *string + func (s *Bucket) SetCount(v int64) *Bucket + func (s *Bucket) SetValue(v string) *Bucket + func (s Bucket) GoString() string + func (s Bucket) String() string + type BucketInfo struct + Buckets []*Bucket + func (s *BucketInfo) SetBuckets(v []*Bucket) *BucketInfo + func (s BucketInfo) GoString() string + func (s BucketInfo) String() string + type CloudSearchDomain struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudSearchDomain + func (c *CloudSearchDomain) Search(input *SearchInput) (*SearchOutput, error) + func (c *CloudSearchDomain) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) + func (c *CloudSearchDomain) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) + func (c *CloudSearchDomain) Suggest(input *SuggestInput) (*SuggestOutput, error) + func (c *CloudSearchDomain) SuggestRequest(input *SuggestInput) (req *request.Request, output *SuggestOutput) + func (c *CloudSearchDomain) SuggestWithContext(ctx aws.Context, input *SuggestInput, opts ...request.Option) (*SuggestOutput, error) + func (c *CloudSearchDomain) UploadDocuments(input *UploadDocumentsInput) (*UploadDocumentsOutput, error) + func (c *CloudSearchDomain) UploadDocumentsRequest(input *UploadDocumentsInput) (req *request.Request, output *UploadDocumentsOutput) + func (c *CloudSearchDomain) UploadDocumentsWithContext(ctx aws.Context, input *UploadDocumentsInput, opts ...request.Option) (*UploadDocumentsOutput, error) + type DocumentServiceException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + Status *string + func (s *DocumentServiceException) Code() string + func (s *DocumentServiceException) Error() string + func (s *DocumentServiceException) Message() string + func (s *DocumentServiceException) OrigErr() error + func (s *DocumentServiceException) RequestID() string + func (s *DocumentServiceException) StatusCode() int + func (s DocumentServiceException) GoString() string + func (s DocumentServiceException) String() string + type DocumentServiceWarning struct + Message *string + func (s *DocumentServiceWarning) SetMessage(v string) *DocumentServiceWarning + func (s DocumentServiceWarning) GoString() string + func (s DocumentServiceWarning) String() string + type FieldStats struct + Count *int64 + Max *string + Mean *string + Min *string + Missing *int64 + Stddev *float64 + Sum *float64 + SumOfSquares *float64 + func (s *FieldStats) SetCount(v int64) *FieldStats + func (s *FieldStats) SetMax(v string) *FieldStats + func (s *FieldStats) SetMean(v string) *FieldStats + func (s *FieldStats) SetMin(v string) *FieldStats + func (s *FieldStats) SetMissing(v int64) *FieldStats + func (s *FieldStats) SetStddev(v float64) *FieldStats + func (s *FieldStats) SetSum(v float64) *FieldStats + func (s *FieldStats) SetSumOfSquares(v float64) *FieldStats + func (s FieldStats) GoString() string + func (s FieldStats) String() string + type Hit struct + Exprs map[string]*string + Fields map[string][]*string + Highlights map[string]*string + Id *string + func (s *Hit) SetExprs(v map[string]*string) *Hit + func (s *Hit) SetFields(v map[string][]*string) *Hit + func (s *Hit) SetHighlights(v map[string]*string) *Hit + func (s *Hit) SetId(v string) *Hit + func (s Hit) GoString() string + func (s Hit) String() string + type Hits struct + Cursor *string + Found *int64 + Hit []*Hit + Start *int64 + func (s *Hits) SetCursor(v string) *Hits + func (s *Hits) SetFound(v int64) *Hits + func (s *Hits) SetHit(v []*Hit) *Hits + func (s *Hits) SetStart(v int64) *Hits + func (s Hits) GoString() string + func (s Hits) String() string + type SearchException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *SearchException) Code() string + func (s *SearchException) Error() string + func (s *SearchException) Message() string + func (s *SearchException) OrigErr() error + func (s *SearchException) RequestID() string + func (s *SearchException) StatusCode() int + func (s SearchException) GoString() string + func (s SearchException) String() string + type SearchInput struct + Cursor *string + Expr *string + Facet *string + FilterQuery *string + Highlight *string + Partial *bool + Query *string + QueryOptions *string + QueryParser *string + Return *string + Size *int64 + Sort *string + Start *int64 + Stats *string + func (s *SearchInput) SetCursor(v string) *SearchInput + func (s *SearchInput) SetExpr(v string) *SearchInput + func (s *SearchInput) SetFacet(v string) *SearchInput + func (s *SearchInput) SetFilterQuery(v string) *SearchInput + func (s *SearchInput) SetHighlight(v string) *SearchInput + func (s *SearchInput) SetPartial(v bool) *SearchInput + func (s *SearchInput) SetQuery(v string) *SearchInput + func (s *SearchInput) SetQueryOptions(v string) *SearchInput + func (s *SearchInput) SetQueryParser(v string) *SearchInput + func (s *SearchInput) SetReturn(v string) *SearchInput + func (s *SearchInput) SetSize(v int64) *SearchInput + func (s *SearchInput) SetSort(v string) *SearchInput + func (s *SearchInput) SetStart(v int64) *SearchInput + func (s *SearchInput) SetStats(v string) *SearchInput + func (s *SearchInput) Validate() error + func (s SearchInput) GoString() string + func (s SearchInput) String() string + type SearchOutput struct + Facets map[string]*BucketInfo + Hits *Hits + Stats map[string]*FieldStats + Status *SearchStatus + func (s *SearchOutput) SetFacets(v map[string]*BucketInfo) *SearchOutput + func (s *SearchOutput) SetHits(v *Hits) *SearchOutput + func (s *SearchOutput) SetStats(v map[string]*FieldStats) *SearchOutput + func (s *SearchOutput) SetStatus(v *SearchStatus) *SearchOutput + func (s SearchOutput) GoString() string + func (s SearchOutput) String() string + type SearchStatus struct + Rid *string + Timems *int64 + func (s *SearchStatus) SetRid(v string) *SearchStatus + func (s *SearchStatus) SetTimems(v int64) *SearchStatus + func (s SearchStatus) GoString() string + func (s SearchStatus) String() string + type SuggestInput struct + Query *string + Size *int64 + Suggester *string + func (s *SuggestInput) SetQuery(v string) *SuggestInput + func (s *SuggestInput) SetSize(v int64) *SuggestInput + func (s *SuggestInput) SetSuggester(v string) *SuggestInput + func (s *SuggestInput) Validate() error + func (s SuggestInput) GoString() string + func (s SuggestInput) String() string + type SuggestModel struct + Found *int64 + Query *string + Suggestions []*SuggestionMatch + func (s *SuggestModel) SetFound(v int64) *SuggestModel + func (s *SuggestModel) SetQuery(v string) *SuggestModel + func (s *SuggestModel) SetSuggestions(v []*SuggestionMatch) *SuggestModel + func (s SuggestModel) GoString() string + func (s SuggestModel) String() string + type SuggestOutput struct + Status *SuggestStatus + Suggest *SuggestModel + func (s *SuggestOutput) SetStatus(v *SuggestStatus) *SuggestOutput + func (s *SuggestOutput) SetSuggest(v *SuggestModel) *SuggestOutput + func (s SuggestOutput) GoString() string + func (s SuggestOutput) String() string + type SuggestStatus struct + Rid *string + Timems *int64 + func (s *SuggestStatus) SetRid(v string) *SuggestStatus + func (s *SuggestStatus) SetTimems(v int64) *SuggestStatus + func (s SuggestStatus) GoString() string + func (s SuggestStatus) String() string + type SuggestionMatch struct + Id *string + Score *int64 + Suggestion *string + func (s *SuggestionMatch) SetId(v string) *SuggestionMatch + func (s *SuggestionMatch) SetScore(v int64) *SuggestionMatch + func (s *SuggestionMatch) SetSuggestion(v string) *SuggestionMatch + func (s SuggestionMatch) GoString() string + func (s SuggestionMatch) String() string + type UploadDocumentsInput struct + ContentType *string + Documents io.ReadSeeker + func (s *UploadDocumentsInput) SetContentType(v string) *UploadDocumentsInput + func (s *UploadDocumentsInput) SetDocuments(v io.ReadSeeker) *UploadDocumentsInput + func (s *UploadDocumentsInput) Validate() error + func (s UploadDocumentsInput) GoString() string + func (s UploadDocumentsInput) String() string + type UploadDocumentsOutput struct + Adds *int64 + Deletes *int64 + Status *string + Warnings []*DocumentServiceWarning + func (s *UploadDocumentsOutput) SetAdds(v int64) *UploadDocumentsOutput + func (s *UploadDocumentsOutput) SetDeletes(v int64) *UploadDocumentsOutput + func (s *UploadDocumentsOutput) SetStatus(v string) *UploadDocumentsOutput + func (s *UploadDocumentsOutput) SetWarnings(v []*DocumentServiceWarning) *UploadDocumentsOutput + func (s UploadDocumentsOutput) GoString() string + func (s UploadDocumentsOutput) String() string