Class: Couchbase::SearchFacetResult

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

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)


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

def field
  @field
end

#missingInteger

Returns:

  • (Integer)


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

def missing
  @missing
end

#nameString

Returns:

  • (String)


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

def name
  @name
end

#otherInteger

Returns:

  • (Integer)


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

def other
  @other
end

#totalInteger

Returns:

  • (Integer)


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

def total
  @total
end