Class: Aws::Kendra::Types::ExpandedResultItem

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

Overview

A single expanded result in a collapsed group of search results.

An expanded result item contains information about an expanded result document within a collapsed group of search results. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#document_attributesArray<Types::DocumentAttribute>

An array of document attributes assigned to a document in the search results. For example, the document author (“_author”) or the source URI (“_source_uri”) of the document.

Returns:



5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'lib/aws-sdk-kendra/types.rb', line 5004

class ExpandedResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :document_excerpt,
  :document_uri,
  :document_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_excerptTypes::TextWithHighlights

Provides text and information about where to highlight the text.



5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'lib/aws-sdk-kendra/types.rb', line 5004

class ExpandedResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :document_excerpt,
  :document_uri,
  :document_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_idString

The idenitifier of the document.

Returns:

  • (String)


5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'lib/aws-sdk-kendra/types.rb', line 5004

class ExpandedResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :document_excerpt,
  :document_uri,
  :document_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_titleTypes::TextWithHighlights

Provides text and information about where to highlight the text.



5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'lib/aws-sdk-kendra/types.rb', line 5004

class ExpandedResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :document_excerpt,
  :document_uri,
  :document_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_uriString

The URI of the original location of the document.

Returns:

  • (String)


5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'lib/aws-sdk-kendra/types.rb', line 5004

class ExpandedResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :document_excerpt,
  :document_uri,
  :document_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier for the expanded result.

Returns:

  • (String)


5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'lib/aws-sdk-kendra/types.rb', line 5004

class ExpandedResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :document_excerpt,
  :document_uri,
  :document_attributes)
  SENSITIVE = []
  include Aws::Structure
end