Module: Elastic::Nodes::Concerns::Boostable

Included in:
Boolean, FunctionScore, Match, Range, Term
Defined in:
lib/elastic/nodes/concerns/boostable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#boostObject

Returns the value of attribute boost.



3
4
5
# File 'lib/elastic/nodes/concerns/boostable.rb', line 3

def boost
  @boost
end

Instance Method Details

#cloneObject



5
6
7
# File 'lib/elastic/nodes/concerns/boostable.rb', line 5

def clone
  copy_boost super
end

#simplifyObject



9
10
11
# File 'lib/elastic/nodes/concerns/boostable.rb', line 9

def simplify
  copy_boost super
end