Class: Aws::LocationService::Types::SearchForTextResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::LocationService::Types::SearchForTextResult
- Defined in:
- gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb
Overview
Contains a search result from a text search query that is run on a place index resource.
Constant Summary collapse
- SENSITIVE =
[:distance, :relevance, :place_id]
Instance Attribute Summary collapse
-
#distance ⇒ Float
The distance in meters of a great-circle arc between the bias position specified and the result.
-
#place ⇒ Types::Place
Details about the search result, such as its address and position.
-
#place_id ⇒ String
The unique identifier of the place.
-
#relevance ⇒ Float
The relative confidence in the match for a result among the results returned.
Instance Attribute Details
#distance ⇒ Float
The distance in meters of a great-circle arc between the bias
position specified and the result. Distance will be returned only
if a bias position was specified in the query.
5847 5848 5849 5850 5851 5852 5853 5854 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5847 class SearchForTextResult < Struct.new( :place, :distance, :relevance, :place_id) SENSITIVE = [:distance, :relevance, :place_id] include Aws::Structure end |
#place ⇒ Types::Place
Details about the search result, such as its address and position.
5847 5848 5849 5850 5851 5852 5853 5854 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5847 class SearchForTextResult < Struct.new( :place, :distance, :relevance, :place_id) SENSITIVE = [:distance, :relevance, :place_id] include Aws::Structure end |
#place_id ⇒ String
The unique identifier of the place. You can use this with the
GetPlace operation to find the place again later.
SearchPlaceIndexForText operations, the PlaceId is returned
only by place indexes that use HERE or Grab as a data provider.
5847 5848 5849 5850 5851 5852 5853 5854 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5847 class SearchForTextResult < Struct.new( :place, :distance, :relevance, :place_id) SENSITIVE = [:distance, :relevance, :place_id] include Aws::Structure end |
#relevance ⇒ Float
The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1.
Returned only when the partner selected is Esri or Grab.
5847 5848 5849 5850 5851 5852 5853 5854 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5847 class SearchForTextResult < Struct.new( :place, :distance, :relevance, :place_id) SENSITIVE = [:distance, :relevance, :place_id] include Aws::Structure end |