You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudSearchDomain::Types::Hit

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

Overview

Information about a document that matches the search request.

Instance Attribute Summary collapse

Instance Attribute Details

#exprsHash<String,String>

The expressions returned from a document that matches the search request.

Returns:

  • (Hash<String,String>)


155
156
157
158
159
160
161
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 155

class Hit < Struct.new(
  :id,
  :fields,
  :exprs,
  :highlights)
  include Aws::Structure
end

#fieldsHash<String,Array<String>>

The fields returned from a document that matches the search request.

Returns:

  • (Hash<String,Array<String>>)


155
156
157
158
159
160
161
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 155

class Hit < Struct.new(
  :id,
  :fields,
  :exprs,
  :highlights)
  include Aws::Structure
end

#highlightsHash<String,String>

The highlights returned from a document that matches the search request.

Returns:

  • (Hash<String,String>)


155
156
157
158
159
160
161
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 155

class Hit < Struct.new(
  :id,
  :fields,
  :exprs,
  :highlights)
  include Aws::Structure
end

#idString

The document ID of a document that matches the search request.

Returns:

  • (String)


155
156
157
158
159
160
161
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 155

class Hit < Struct.new(
  :id,
  :fields,
  :exprs,
  :highlights)
  include Aws::Structure
end