Class: Couchbase::Cluster::SearchMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#error_partition_countInteger

Returns:

  • (Integer)

1474
1475
1476
# File 'lib/couchbase/search_options.rb', line 1474

def error_partition_count
  @error_partition_count
end

#max_scoreFloat

Returns:

  • (Float)

1468
1469
1470
# File 'lib/couchbase/search_options.rb', line 1468

def max_score
  @max_score
end

#success_partition_countInteger

Returns:

  • (Integer)

1471
1472
1473
# File 'lib/couchbase/search_options.rb', line 1471

def success_partition_count
  @success_partition_count
end

#tookInteger

Returns time spent executing the query (in milliseconds).

Returns:

  • (Integer)

    time spent executing the query (in milliseconds)


1462
1463
1464
# File 'lib/couchbase/search_options.rb', line 1462

def took
  @took
end

#total_rowsInteger

Returns:

  • (Integer)

1465
1466
1467
# File 'lib/couchbase/search_options.rb', line 1465

def total_rows
  @total_rows
end

Instance Method Details

#total_partition_countInteger

Returns:

  • (Integer)
[View source]

1477
1478
1479
# File 'lib/couchbase/search_options.rb', line 1477

def total_partition_count
  success_partition_count + error_partition_count
end