Sha256: af2c1dafe0b94fc88fc20919b2731523d94faba66a9cf9e6b73258da879ccc89

Contents?: true

Size: 660 Bytes

Versions: 14

Compression:

Stored size: 660 Bytes

Contents

= websolr-rails

This overrides acts_as_solr or Sunspot to use the value of the 
environment variable WEBSOLR_URL as the Solr Search server, 
provided that it's defined.

After installing the gem, you can include websolr-rails in your 
app by either starting the webapp like:

  WEBSOLR_URL=http://index.websolr.com/solr/<api-key> ./script/server
  
Or, you can put the following in /environment/production.rb, or an
initializer, etc:

  # production.rb
  ENV["WEBSOLR_URL"] = "http://index.websolr.com/solr/<api-key>"

  # WEBSOLR_URL must already be defined.
  require "websolr-rails"

== Copyright

Copyright (c) 2009 Kyle Maxwell. See LICENSE for details.

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
websolr-rails-2.3.2 README.rdoc
websolr-rails-2.3.1 README.rdoc
websolr-rails-2.3.0 README.rdoc
websolr-rails-2.2.0 README.rdoc
websolr-rails-2.1.3 README.rdoc
websolr-rails-2.1.2 README.rdoc
websolr-rails-2.1.1 README.rdoc
websolr-rails-2.1.0 README.rdoc
websolr-rails-2.0.5 README.rdoc
websolr-rails-2.0.4 README.rdoc
websolr-rails-2.0.3 README.rdoc
websolr-rails-2.0.2 README.rdoc
websolr-rails-2.0.1 README.rdoc
websolr-rails-2.0.0 README.rdoc