returns the request as a string suitable for posting
36 37 38 39 40
# File 'lib/solr/request/modify_document.rb', line 36 def to_s e = Solr::XML::Element.new 'add' e.add_element(Solr::Document.new(@doc).to_xml) return e.to_s end