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