Class: Couchbase::SearchFacet
- Inherits:
-
Object
- Object
- Couchbase::SearchFacet
show all
- Defined in:
- lib/couchbase/search_options.rb,
/code/couchbase-ruby-client/lib/couchbase/search_options.rb
Defined Under Namespace
Classes: SearchFacetDateRange, SearchFacetNumericRange, SearchFacetTerm
Class Method Summary
collapse
Class Method Details
1272
1273
1274
|
# File 'lib/couchbase/search_options.rb', line 1272
def self.date_range(field_name, &)
SearchFacetDateRange.new(field_name, &)
end
|
1266
1267
1268
|
# File 'lib/couchbase/search_options.rb', line 1266
def self.numeric_range(field_name, &)
SearchFacetNumericRange.new(field_name, &)
end
|
1260
1261
1262
|
# File 'lib/couchbase/search_options.rb', line 1260
def self.term(field_name, &)
SearchFacetTerm.new(field_name, &)
end
|