Module: OpenSearch::DSL::Search::BaseCompoundFilterComponent

Includes:
Enumerable
Included in:
Filters::And, Filters::Or
Defined in:
lib/opensearch/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



40
41
42
43
44
# File 'lib/opensearch/dsl/search/base_compound_filter_component.rb', line 40

def self.included(base)
  base.__send__ :include, InstanceMethods
  base.__send__ :include, EnumerableMethods
  base.__send__ :include, MethodDelegation
end

Instance Method Details

#initialize(*args, &block) ⇒ Object



35
36
37
38
# File 'lib/opensearch/dsl/search/base_compound_filter_component.rb', line 35

def initialize(*args, &block)
  super
  @value = []
end