Class: Elastic::Shims::FieldPicking

Inherits:
Base
  • Object
show all
Includes:
Concerns::HitPicker
Defined in:
lib/elastic/shims/field_picking.rb

Instance Attribute Summary

Attributes inherited from Base

#child

Instance Method Summary collapse

Methods included from Concerns::HitPicker

#handle_result, #render

Methods inherited from Base

#handle_result, #render, #traverse

Methods included from Elastic::Support::Traversable

#pick_nodes, #traverse

Constructor Details

#initialize(_child, _field) ⇒ FieldPicking

Returns a new instance of FieldPicking.



5
6
7
8
# File 'lib/elastic/shims/field_picking.rb', line 5

def initialize(_child, _field)
  super(_child)
  @field = _field
end