This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Installation and configuration
Installation
Sunspot is most easily installed using RubyGems:
$ sudo gem install outoftime-sunspot --source=http://gems.github.com
If you use an alternate system of package management, you can pull Sunspot from git://github.com/outoftime/sunspot.git.
Starting up Solr
Sunspot comes with a prepackaged instance of Solr, which makes it easy to get started in development mode. To start Sunspot’s Solr instance, run:
$ sunspot-solr start
This will store the index data in your operating system’s temporary directory – see Configuring Solr for use with Sunspot in development and production? for more options available when when running the packaged Solr instance.
Configuration
Sunspot is configured using the Sunspot.config object. The following options are available:
Sunspot.config.http_client:net_http, which indicates the use of the standard library’s Net::HTTP library. The other option is :curb, which uses Ruby LibCURL bindings, and is much faster.Sunspot.config.solr.urlhttp://127.0.0.1:8983/solrSunspot.config.pagination.default_per_page





