Class: Orchestrate::Search::DistanceResult
- Inherits:
-
RangeResult
- Object
- AggregateResult
- RangeResult
- Orchestrate::Search::DistanceResult
- Defined in:
- lib/orchestrate/search/results.rb
Overview
Distance Aggregate result object
Instance Attribute Summary
Attributes inherited from RangeResult
Attributes inherited from AggregateResult
#collection, #count, #field_name, #kind
Instance Method Summary collapse
-
#to_s ⇒ Object
(also: #inspect)
Pretty-Printed string representation of the DistanceResult object.
Methods inherited from RangeResult
Methods inherited from AggregateResult
Constructor Details
This class inherits a constructor from Orchestrate::Search::RangeResult
Instance Method Details
#to_s ⇒ Object Also known as: inspect
Returns Pretty-Printed string representation of the DistanceResult object.
198 199 200 |
# File 'lib/orchestrate/search/results.rb', line 198 def to_s "#<Orchestrate::Search::DistanceResult collection=#{collection.name} field_name=#{field_name} buckets=#{buckets}>" end |