Class: Aws::CloudSearch::Types::Suggester

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb

Overview

Note:

When making an API call, you may pass Suggester data as a hash:

{
  suggester_name: "StandardName", # required
  document_suggester_options: { # required
    source_field: "FieldName", # required
    fuzzy_matching: "none", # accepts none, low, high
    sort_expression: "String",
  },
}

Configuration information for a search suggester. Each suggester has a unique name and specifies the text field you want to use for suggestions. The following options can be configured for a suggester: FuzzyMatching, SortExpression.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#document_suggester_optionsTypes::DocumentSuggesterOptions

Options for a search suggester.



2372
2373
2374
2375
2376
2377
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 2372

class Suggester < Struct.new(
  :suggester_name,
  :document_suggester_options)
  SENSITIVE = []
  include Aws::Structure
end

#suggester_nameString

Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).

Returns:

  • (String)


2372
2373
2374
2375
2376
2377
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 2372

class Suggester < Struct.new(
  :suggester_name,
  :document_suggester_options)
  SENSITIVE = []
  include Aws::Structure
end