README.rdoc in rsolr-0.12.1 vs README.rdoc in rsolr-0.13.0.pre
- old
+ new
@@ -7,20 +7,25 @@
sudo gem install rsolr
== Example:
require 'rubygems'
require 'rsolr'
+
+ # Direct connection
solr = RSolr.connect :url=>'http://solrserver.com'
+ # Connecting over a proxy server
+ solr = RSolr.connect :url=>'http://solrserver.com', :proxy=>'http://user:pass@proxy.example.com:8080'
+
# send a request to /select
- response = rsolr.select :q=>'*:*'
+ response = solr.select :q=>'*:*'
# send a request to a custom request handler; /catalog
- response = rsolr.request '/catalog', :q=>'*:*'
+ response = solr.request '/catalog', :q=>'*:*'
# alternative to above:
- response = rsolr.catalog :q=>'*:*'
+ response = solr.catalog :q=>'*:*'
== Querying
Use the #select method to send requests to the /select handler:
response = solr.select({
:q=>'washington',
@@ -105,10 +110,11 @@
==Related Resources & Projects
* {RSolr Google Group}[http://groups.google.com/group/rsolr] -- The RSolr discussion group
* {rsolr-ext}[http://github.com/mwmitchell/rsolr-ext] -- An extension kit for RSolr
* {rsolr-direct}[http://github.com/mwmitchell/rsolr-direct] -- JRuby direct connection for RSolr
+* {rsolr-nokogiri}[http://github.com/mwmitchell/rsolr-nokogiri] -- Gives RSolr Nokogiri for XML generation.
* {SunSpot}[http://github.com/outoftime/sunspot] -- An awesome Solr DSL, built with RSolr
* {Blacklight}[http://blacklightopac.org] -- A "next generation" Library OPAC, built with RSolr
* {java_bin}[http://github.com/kennyj/java_bin] -- Provides javabin/binary parsing for RSolr
* {Solr}[http://lucene.apache.org/solr/] -- The Apache Solr project
* {solr-ruby}[http://wiki.apache.org/solr/solr-ruby] -- The original Solr Ruby Gem!
@@ -120,10 +126,14 @@
* Commit, do not mess with rakefile, version, or history
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.
==Contributors
-* mperham
+* Lorenzo Riccucci
+* Mike Perham
* Mat Brown
-* shairontoledo
+* Shairon Toledo
* Matthew Rudy
-* Fouad Mardini
+* Fouad Mardini
+* Jeremy Hinegardner
+* Nathan Witmer
+* Craig Smith
\ No newline at end of file