Class: Couchbase::Cluster::SearchMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#error_partition_countInteger

Returns:

  • (Integer)


1445
1446
1447
# File 'lib/couchbase/search_options.rb', line 1445

def error_partition_count
  @error_partition_count
end

#max_scoreFloat

Returns:

  • (Float)


1439
1440
1441
# File 'lib/couchbase/search_options.rb', line 1439

def max_score
  @max_score
end

#success_partition_countInteger

Returns:

  • (Integer)


1442
1443
1444
# File 'lib/couchbase/search_options.rb', line 1442

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)



1433
1434
1435
# File 'lib/couchbase/search_options.rb', line 1433

def took
  @took
end

#total_rowsInteger

Returns:

  • (Integer)


1436
1437
1438
# File 'lib/couchbase/search_options.rb', line 1436

def total_rows
  @total_rows
end

Instance Method Details

#total_partition_countInteger

Returns:

  • (Integer)


1448
1449
1450
# File 'lib/couchbase/search_options.rb', line 1448

def total_partition_count
  success_partition_count + error_partition_count
end