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, &block) ⇒ SearchFacetDateRange
- .numeric_range(field_name, &block) ⇒ SearchFacetNumericRange
- .term(field_name, &block) ⇒ SearchFacetTerm
Class Method Details
.date_range(field_name, &block) ⇒ SearchFacetDateRange
1244 1245 1246 |
# File 'lib/couchbase/search_options.rb', line 1244 def self.date_range(field_name, &block) SearchFacetDateRange.new(field_name, &block) end |
.numeric_range(field_name, &block) ⇒ SearchFacetNumericRange
1238 1239 1240 |
# File 'lib/couchbase/search_options.rb', line 1238 def self.numeric_range(field_name, &block) SearchFacetNumericRange.new(field_name, &block) end |
.term(field_name, &block) ⇒ SearchFacetTerm
1232 1233 1234 |
# File 'lib/couchbase/search_options.rb', line 1232 def self.term(field_name, &block) SearchFacetTerm.new(field_name, &block) end |