Class: Aws::Kendra::Types::FeaturedResultsSet

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

Overview

A set of featured results that are displayed at the top of your search results. Featured results are placed above all other results for certain queries. If there's an exact match of a query, then one or more specific documents are featured in the search results.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timestampInteger

The Unix timestamp when the set of featured results was created.

Returns:

  • (Integer)


5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description for the set of featured results.

Returns:

  • (String)


5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

The list of document IDs for the documents you want to feature at the top of the search results page. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.

You can add up to four featured documents. You can request to increase this limit by contacting Support.

Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.

Returns:



5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

The identifier of the set of featured results.

Returns:

  • (String)


5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

The name for the set of featured results.

Returns:

  • (String)


5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timestampInteger

The Unix timestamp when the set of featured results was last updated.

Returns:

  • (Integer)


5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#query_textsArray<String>

The list of queries for featuring results.

Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.

Returns:

  • (Array<String>)


5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current status of the set of featured results. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.

Returns:

  • (String)


5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5537

class FeaturedResultsSet < Struct.new(
  :featured_results_set_id,
  :featured_results_set_name,
  :description,
  :status,
  :query_texts,
  :featured_documents,
  :last_updated_timestamp,
  :creation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end