Class: Aws::Kendra::Types::GetQuerySuggestionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kendra::Types::GetQuerySuggestionsRequest
- Defined in:
- gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attribute_suggestions_config ⇒ Types::AttributeSuggestionsGetConfig
Configuration information for the document fields/attributes that you want to base query suggestions on.
-
#index_id ⇒ String
The identifier of the index you want to get query suggestions from.
-
#max_suggestions_count ⇒ Integer
The maximum number of query suggestions you want to show to your users.
-
#query_text ⇒ String
The text of a user's query to generate query suggestions.
-
#suggestion_types ⇒ Array<String>
The suggestions type to base query suggestions on.
Instance Attribute Details
#attribute_suggestions_config ⇒ Types::AttributeSuggestionsGetConfig
Configuration information for the document fields/attributes that you want to base query suggestions on.
5748 5749 5750 5751 5752 5753 5754 5755 5756 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5748 class GetQuerySuggestionsRequest < Struct.new( :index_id, :query_text, :max_suggestions_count, :suggestion_types, :attribute_suggestions_config) SENSITIVE = [] include Aws::Structure end |
#index_id ⇒ String
The identifier of the index you want to get query suggestions from.
5748 5749 5750 5751 5752 5753 5754 5755 5756 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5748 class GetQuerySuggestionsRequest < Struct.new( :index_id, :query_text, :max_suggestions_count, :suggestion_types, :attribute_suggestions_config) SENSITIVE = [] include Aws::Structure end |
#max_suggestions_count ⇒ Integer
The maximum number of query suggestions you want to show to your users.
5748 5749 5750 5751 5752 5753 5754 5755 5756 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5748 class GetQuerySuggestionsRequest < Struct.new( :index_id, :query_text, :max_suggestions_count, :suggestion_types, :attribute_suggestions_config) SENSITIVE = [] include Aws::Structure end |
#query_text ⇒ String
The text of a user's query to generate query suggestions.
A query is suggested if the query prefix matches what a user starts to type as their query.
Amazon Kendra does not show any suggestions if a user types fewer than two characters or more than 60 characters. A query must also have at least one search result and contain at least one word of more than four characters.
5748 5749 5750 5751 5752 5753 5754 5755 5756 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5748 class GetQuerySuggestionsRequest < Struct.new( :index_id, :query_text, :max_suggestions_count, :suggestion_types, :attribute_suggestions_config) SENSITIVE = [] include Aws::Structure end |
#suggestion_types ⇒ Array<String>
The suggestions type to base query suggestions on. The suggestion types are query history or document fields/attributes. You can set one type or the other.
If you set query history as your suggestions type, Amazon Kendra suggests queries relevant to your users based on popular queries in the query history.
If you set document fields/attributes as your suggestions type, Amazon Kendra suggests queries relevant to your users based on the contents of document fields.
5748 5749 5750 5751 5752 5753 5754 5755 5756 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5748 class GetQuerySuggestionsRequest < Struct.new( :index_id, :query_text, :max_suggestions_count, :suggestion_types, :attribute_suggestions_config) SENSITIVE = [] include Aws::Structure end |