Class: Couchbase::Cluster::SearchFacetResult

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...

Overview

An individual facet result has both metadata and details, as each facet can define ranges into which results are categorized

Defined Under Namespace

Classes: DateRangeFacetResult, NumericRangeFacetResult, TermFacetResult

Instance Attribute Summary collapse

Instance Attribute Details

#fieldString

Returns:

  • (String)

1291
1292
1293
# File 'lib/couchbase/search_options.rb', line 1291

def field
  @field
end

#missingInteger

Returns:

  • (Integer)

1297
1298
1299
# File 'lib/couchbase/search_options.rb', line 1297

def missing
  @missing
end

#nameString

Returns:

  • (String)

1288
1289
1290
# File 'lib/couchbase/search_options.rb', line 1288

def name
  @name
end

#otherInteger

Returns:

  • (Integer)

1300
1301
1302
# File 'lib/couchbase/search_options.rb', line 1300

def other
  @other
end

#totalInteger

Returns:

  • (Integer)

1294
1295
1296
# File 'lib/couchbase/search_options.rb', line 1294

def total
  @total
end