Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merged in http://github.com/copiousfreetime/rsolr/tree/update-params

merged in mperham branch for adding params to Client #add (4b8c51)
  • Loading branch information...
commit 7499041309e1196983004b1c182fd8ab6a0659c5 1 parent e19dab3
@mwmitchell mwmitchell authored
Showing with 5 additions and 1 deletion.
  1. +2 −1  README.rdoc
  2. +3 −0  examples/http.rb
View
3  README.rdoc
@@ -133,4 +133,5 @@ The raw is a hash that contains the generated params, url, path, post data, head
* Mat Brown
* Shairon Toledo
* Matthew Rudy
-* Fouad Mardini
+* Fouad Mardini
+* Jeremy Hinegardner
View
3  examples/http.rb
@@ -2,6 +2,9 @@
solr = RSolr.connect
+# r = solr.request "/admin/cores", :action => "STATUS"
+# puts r.inspect
+
Dir['../solr/example/exampledocs/*.xml'].each do |xml_file|
puts "Updating with #{xml_file}"
solr.update File.read(xml_file)
Please sign in to comment.
Something went wrong with that request. Please try again.