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.

Constant Summary collapse

SENSITIVE =
[]

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>)


180
181
182
183
184
185
186
187
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 180

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

#fieldsHash<String,Array<String>>

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

Returns:

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


180
181
182
183
184
185
186
187
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 180

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

#highlightsHash<String,String>

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

Returns:

  • (Hash<String,String>)


180
181
182
183
184
185
186
187
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 180

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

#idString

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

Returns:

  • (String)


180
181
182
183
184
185
186
187
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 180

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