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)

1368
1369
1370
# File 'lib/couchbase/search_options.rb', line 1368

def field
  @field
end

#missingInteger

Returns:

  • (Integer)

1374
1375
1376
# File 'lib/couchbase/search_options.rb', line 1374

def missing
  @missing
end

#nameString

Returns:

  • (String)

1365
1366
1367
# File 'lib/couchbase/search_options.rb', line 1365

def name
  @name
end

#otherInteger

Returns:

  • (Integer)

1377
1378
1379
# File 'lib/couchbase/search_options.rb', line 1377

def other
  @other
end

#totalInteger

Returns:

  • (Integer)

1371
1372
1373
# File 'lib/couchbase/search_options.rb', line 1371

def total
  @total
end