Module: Elasticsearch::DSL::Search::BaseCompoundFilterComponent
- Includes:
- Enumerable
- Included in:
- Filters::And, Filters::Or
- Defined in:
- lib/elasticsearch/dsl/search/base_compound_filter_component.rb
Overview
Module containing common functionality for a “compound” (wrapping) filters, such as ‘and`, `or`, `not`
Defined Under Namespace
Modules: EnumerableMethods, InstanceMethods, MethodDelegation
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
32 33 34 35 36 |
# File 'lib/elasticsearch/dsl/search/base_compound_filter_component.rb', line 32 def self.included(base) base.__send__ :include, InstanceMethods base.__send__ :include, EnumerableMethods base.__send__ :include, MethodDelegation end |
Instance Method Details
#initialize(*args, &block) ⇒ Object
27 28 29 30 |
# File 'lib/elasticsearch/dsl/search/base_compound_filter_component.rb', line 27 def initialize(*args, &block) super @value = [] end |