Class: Couchbase::Cluster::SearchMetrics
- Inherits:
-
Object
- Object
- Couchbase::Cluster::SearchMetrics
- Defined in:
- lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb more...
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
1528 1529 1530 |
# File 'lib/couchbase/search_options.rb', line 1528 def error_partition_count @error_partition_count end |
#max_score ⇒ Float
1522 1523 1524 |
# File 'lib/couchbase/search_options.rb', line 1522 def max_score @max_score end |
#success_partition_count ⇒ Integer
1525 1526 1527 |
# File 'lib/couchbase/search_options.rb', line 1525 def success_partition_count @success_partition_count end |
#took ⇒ Integer
Returns time spent executing the query (in milliseconds).
1516 1517 1518 |
# File 'lib/couchbase/search_options.rb', line 1516 def took @took end |
#total_rows ⇒ Integer
1519 1520 1521 |
# File 'lib/couchbase/search_options.rb', line 1519 def total_rows @total_rows end |
Instance Method Details
#total_partition_count ⇒ Integer
1531 1532 1533 |
# File 'lib/couchbase/search_options.rb', line 1531 def total_partition_count success_partition_count + error_partition_count end |