No commit activity in last 3 years
No release in over 3 years
Sunspot::Solr provides a bundled Solr distribution for use with Sunspot. Typical deployment environments will require more configuration, but this distribution is well suited to development and testing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 10
~> 1.1
 Project Readme

Sunspot::Solr¶ ↑

This gem bundles Sunspot::Solr with the JTS Java Tology Suite, allowing the use of SpatialRecursivePrefixTreeFieldType for multi-value location searches.

JTS is licensed under the LGPL v2.1.

Sunspot::Solr is a packaged distribution of Solr for use with the Sunspot and Sunspot::Rails gems. See those gems’ documentation for more information.

Installation¶ ↑

gem install sunspot_solr

In order to start the daemon, run:

sunspot-solr start -- [-d /path/to/data/directory] [-b ip4_address] [-p port] [-s path/to/solr/home] [--pid-dir=path/to/pid/dir]

If you don’t specify a data directory, your Solr index will be stored in your operating system’s temporary directory.

If you specify a solr home, the directory must contain a conf directory, which should contain at least schema.xml and solrconfig.xml. Be sure to copy the schema.xml out of the Sunspot gem’s solr/solr/conf directory. Sunspot relies on the field name patterns defined in the packaged schema.xml, so those cannot be modified.