Class: Aws::KendraRanking::Types::RescoreResultItem

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

Overview

A result item for a document with a new relevancy score.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#document_idString

The identifier of the document from the search service.

Returns:

  • (String)


459
460
461
462
463
464
# File 'gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/types.rb', line 459

class RescoreResultItem < Struct.new(
  :document_id,
  :score)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.

Returns:

  • (Float)


459
460
461
462
463
464
# File 'gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/types.rb', line 459

class RescoreResultItem < Struct.new(
  :document_id,
  :score)
  SENSITIVE = []
  include Aws::Structure
end