Class: Aws::Kendra::Types::GetQuerySuggestionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kendra::Types::GetQuerySuggestionsRequest
- Includes:
- Structure
- Defined in:
- 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.
5643 5644 5645 5646 5647 5648 5649 5650 5651 |
# File 'lib/aws-sdk-kendra/types.rb', line 5643 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.
5643 5644 5645 5646 5647 5648 5649 5650 5651 |
# File 'lib/aws-sdk-kendra/types.rb', line 5643 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.
5643 5644 5645 5646 5647 5648 5649 5650 5651 |
# File 'lib/aws-sdk-kendra/types.rb', line 5643 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.
5643 5644 5645 5646 5647 5648 5649 5650 5651 |
# File 'lib/aws-sdk-kendra/types.rb', line 5643 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.
5643 5644 5645 5646 5647 5648 5649 5650 5651 |
# File 'lib/aws-sdk-kendra/types.rb', line 5643 class GetQuerySuggestionsRequest < Struct.new( :index_id, :query_text, :max_suggestions_count, :suggestion_types, :attribute_suggestions_config) SENSITIVE = [] include Aws::Structure end |