Module: Elastic::Nodes::Concerns::HitProvider

Included in:
Search, TopHits
Defined in:
lib/elastic/nodes/concerns/hit_provider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sizeObject

Returns the value of attribute size.



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

def size
  @size
end

#sourceObject

Returns the value of attribute source.



4
5
6
# File 'lib/elastic/nodes/concerns/hit_provider.rb', line 4

def source
  @source
end

Instance Method Details

#cloneObject



17
18
19
# File 'lib/elastic/nodes/concerns/hit_provider.rb', line 17

def clone
  copy_hit_options super
end

#simplifyObject



21
22
23
# File 'lib/elastic/nodes/concerns/hit_provider.rb', line 21

def simplify
  copy_hit_options super
end