Class: Couchbase::Cluster::SearchFacetResult

Inherits:
Object
  • Object
show all
Defined in:
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)


1285
1286
1287
# File 'lib/couchbase/search_options.rb', line 1285

def field
  @field
end

#missingInteger

Returns:

  • (Integer)


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

def missing
  @missing
end

#nameString

Returns:

  • (String)


1282
1283
1284
# File 'lib/couchbase/search_options.rb', line 1282

def name
  @name
end

#otherInteger

Returns:

  • (Integer)


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

def other
  @other
end

#totalInteger

Returns:

  • (Integer)


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

def total
  @total
end