Class: Couchbase::SearchMetrics
- Inherits:
-
Object
- Object
- Couchbase::SearchMetrics
- Defined in:
- lib/couchbase/search_options.rb,
/code/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
1596 1597 1598 |
# File 'lib/couchbase/search_options.rb', line 1596 def error_partition_count @error_partition_count end |
#max_score ⇒ Float
1590 1591 1592 |
# File 'lib/couchbase/search_options.rb', line 1590 def max_score @max_score end |
#success_partition_count ⇒ Integer
1593 1594 1595 |
# File 'lib/couchbase/search_options.rb', line 1593 def success_partition_count @success_partition_count end |
#took ⇒ Integer
Returns time spent executing the query (in milliseconds).
1584 1585 1586 |
# File 'lib/couchbase/search_options.rb', line 1584 def took @took end |
#total_rows ⇒ Integer
1587 1588 1589 |
# File 'lib/couchbase/search_options.rb', line 1587 def total_rows @total_rows end |
Instance Method Details
#total_partition_count ⇒ Integer
1599 1600 1601 |
# File 'lib/couchbase/search_options.rb', line 1599 def total_partition_count success_partition_count + error_partition_count end |