class Elasticity::Bulk::Index

Public Class Methods

new(client, index_name) click to toggle source
Calls superclass method Elasticity::Bulk::new
# File lib/elasticity/bulk.rb, line 25
def initialize(client, index_name)
  super(client)
  @index_name = index_name
end

Public Instance Methods

delete(type, id) click to toggle source
Calls superclass method Elasticity::Bulk#delete
# File lib/elasticity/bulk.rb, line 38
def delete(type, id)
  super(@index_name, type, id)
end
index(type, id, attributes) click to toggle source
Calls superclass method Elasticity::Bulk#index
# File lib/elasticity/bulk.rb, line 30
def index(type, id, attributes)
  super(@index_name, type, id, attributes)
end
update(type, id, attributes) click to toggle source
Calls superclass method Elasticity::Bulk#update
# File lib/elasticity/bulk.rb, line 34
def update(type, id, attributes)
  super(@index_name, type, id, attributes)
end