Class: Solr::Request::Update

Inherits:
Base
  • Object
show all
Defined in:
lib/solr/request/update.rb

Overview

a parent class for all requests that go through the solr update handler TODO: Use new xml update handler for better error responses

Direct Known Subclasses

AddDocument, Commit, Delete, ModifyDocument, Optimize

Instance Method Summary collapse

Methods inherited from Base

#content_type

Instance Method Details

#handlerObject



20
21
22
# File 'lib/solr/request/update.rb', line 20

def handler
  'update'
end

#response_formatObject



16
17
18
# File 'lib/solr/request/update.rb', line 16

def response_format
  :xml
end