Class: Eson::Search::CustomBoostFactor
- Inherits:
-
Object
- Object
- Eson::Search::CustomBoostFactor
- Defined in:
- lib/eson/search/custom_boost_factor.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Attributes included from Queries
Instance Method Summary collapse
-
#custom_boost_factor { ... } ⇒ self
Generates a ‘custom_boost_factor` query in a query context.
-
#initialize(options = {}) ⇒ CustomBoostFactor
constructor
A new instance of CustomBoostFactor.
Methods included from Query
Methods included from Queries
#queries?, register, #to_query_hash
Constructor Details
#initialize(options = {}) ⇒ CustomBoostFactor
Returns a new instance of CustomBoostFactor.
13 14 15 |
# File 'lib/eson/search/custom_boost_factor.rb', line 13 def initialize( = {}) self. = end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Eson::Search::Query
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
11 12 13 |
# File 'lib/eson/search/custom_boost_factor.rb', line 11 def @options end |
Instance Method Details
#custom_boost_factor { ... } ⇒ self
9 |
# File 'lib/eson/search/custom_boost_factor.rb', line 9 short_name :custom_boost_factor |