Class: Eson::Search::MoreLikeThis
- Inherits:
-
Object
- Object
- Eson::Search::MoreLikeThis
- Includes:
- Query
- Defined in:
- lib/eson/search/more_like_this.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ MoreLikeThis
constructor
A new instance of MoreLikeThis.
-
#mlt { ... } ⇒ self
Generates a ‘mlt` query in a query context.
Methods included from Query
Constructor Details
#initialize(options = {}) ⇒ MoreLikeThis
Returns a new instance of MoreLikeThis.
11 12 13 |
# File 'lib/eson/search/more_like_this.rb', line 11 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.
9 10 11 |
# File 'lib/eson/search/more_like_this.rb', line 9 def @options end |
Instance Method Details
#mlt { ... } ⇒ self
7 |
# File 'lib/eson/search/more_like_this.rb', line 7 short_name :mlt |