# Sunspot

Ruby library that provides a DSL for indexing Ruby objects and searching them through the Solr search engine.


Source: https://findsoftware.frbit.cloud/sunspot/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://sunspot.github.io
- repository: https://github.com/sunspot/sunspot
- docs: https://github.com/sunspot/sunspot/blob/master/README.md

### Identity

- status: active
- maintainer: Mat Brown
- maintainerType: individual
- parent: unknown
- firstRelease: 2009
- hqCountry: unknown

### Kind

- category: search
- hosting: ruby
- language: ruby
- runtime: ruby
- runtimeMin: unknown
- basedOn: solr

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: bundler

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2024-07-16

### Adoption

- githubStargazers: 2977
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 190
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://sunspot.github.io/ (read 2026-10-28)
- urls: https://api.github.com/repos/sunspot/sunspot (read 2026-10-28)
- urls: https://github.com/sunspot/sunspot/blob/master/README.md (read 2026-10-28)
- maintainer: https://github.com/sunspot/sunspot/blob/master/LICENSE (read 2026-10-28)
- maintainerType: https://github.com/sunspot/sunspot/blob/master/LICENSE (read 2026-10-28)
- language: https://api.github.com/repos/sunspot/sunspot (read 2026-10-28)
- runtime: https://github.com/sunspot/sunspot/blob/master/README.md (read 2026-10-28)
- category: https://github.com/sunspot/sunspot/blob/master/README.md (read 2026-10-28)
- installMethod: https://github.com/sunspot/sunspot/blob/master/README.md (read 2026-10-28)
- license: https://api.github.com/repos/sunspot/sunspot (read 2026-10-28)
- license: https://github.com/sunspot/sunspot/blob/master/LICENSE (read 2026-10-28)
- currentMajor: https://api.github.com/repos/sunspot/sunspot/releases (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/sunspot/sunspot/releases (read 2026-10-28)
- firstRelease: https://rubygems.org/api/v1/versions/sunspot.json (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/sunspot/sunspot (read 2026-10-28)
- contributors: https://api.github.com/repos/sunspot/sunspot/contributors (read 2026-10-28)
- basedOn: https://sunspot.github.io/ (read 2026-10-28)

## Notes

Sunspot is a Ruby library for interacting with the Solr search engine. It provides a DSL for indexing Ruby objects and for building search queries against Solr. The sunspot_rails gem integrates the library into Rails applications, and the core library can be used without Rails. The gems are installed through Bundler, and Solr runs as its own server beside the application.

The sunspot_solr gem bundles a Solr distribution, which the project describes as meant for development use.

## Worth knowing

A production site needs a Solr server of its own that keeps running alongside the application, because the bundled Solr distribution is not meant for production.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
