Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The Sunspot gem includes the <code>sunspot-solr</code> binary. The simplest setup would be just to run <code>sunspot-solr start</code>. Depending on how your application is deployed, you might also include a task in your Capistrano deploy that uses Sunspot's provided rake task to start a Solr server. Namely, <code>rake sunspot:solr:start RAILS_ENV=production</code>.</p> <p>Getting more in-depth from that could involve: installing Tomcat as a standalone service, started and stopped with its own init script (or <a href="http://upstart.ubuntu.com/" rel="noreferrer">Upstart</a> config), ideally monitored by monit or god; downloading and deploying solr.war within Tomcat, and configuring the solr.xml to refer to a convenient location on disk for your index data, <code>solrconfig.xml</code> and <code>schema.xml</code> to be stored.</p> <p>The Solr wiki also includes a page on <a href="http://wiki.apache.org/solr/SolrTomcat" rel="noreferrer">installing Solr with Tomcat</a> and <a href="http://wiki.apache.org/solr/SolrInstall" rel="noreferrer">other servlet containers</a>.</p> <p>In either of the above self-hosted options, there's an important point to keep in mind with Sunspot: disable its automatic commits, and rely on Solr's own <code>autoCommit</code> settings in <code>solrconfig.xml</code>. You can disable those commits by setting <code>auto_commit_after_request: false</code> in your <code>config/sunspot.yml</code>.</p> <p>Finally, if you're more interested in just outsourcing all of this, there's also my own humble hosted Solr service over at <a href="http://websolr.com/" rel="noreferrer">http://websolr.com/</a> — we can have you up and running in just a few clicks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload