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



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

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

Instance Method Details

#initialize(*args, &block) ⇒ Object



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

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