Class: Couchbase::SearchMetrics
- Inherits:
-
Object
- Object
- Couchbase::SearchMetrics
- Defined in:
- lib/couchbase/search_options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/search_options.rb
Instance Attribute Summary collapse
- #error_partition_count ⇒ Integer
- #max_score ⇒ Float
- #success_partition_count ⇒ Integer
-
#took ⇒ Integer
Time spent executing the query (in milliseconds).
- #total_rows ⇒ Integer
Instance Method Summary collapse
Instance Attribute Details
#error_partition_count ⇒ Integer
1690 1691 1692 |
# File 'lib/couchbase/search_options.rb', line 1690 def error_partition_count @error_partition_count end |
#max_score ⇒ Float
1684 1685 1686 |
# File 'lib/couchbase/search_options.rb', line 1684 def max_score @max_score end |
#success_partition_count ⇒ Integer
1687 1688 1689 |
# File 'lib/couchbase/search_options.rb', line 1687 def success_partition_count @success_partition_count end |
#took ⇒ Integer
Returns time spent executing the query (in milliseconds).
1678 1679 1680 |
# File 'lib/couchbase/search_options.rb', line 1678 def took @took end |
#total_rows ⇒ Integer
1681 1682 1683 |
# File 'lib/couchbase/search_options.rb', line 1681 def total_rows @total_rows end |
Instance Method Details
#total_partition_count ⇒ Integer
1693 1694 1695 |
# File 'lib/couchbase/search_options.rb', line 1693 def total_partition_count success_partition_count + error_partition_count end |