{"id":79274,"library":"sunspot","title":"Sunspot","description":"A powerful, all-Ruby API for the Solr search engine, providing a DSL for indexing and searching persistent Ruby classes.","status":"active","version":"2.7.1","language":"ruby","source_language":null,"source_url":"https://github.com/sunspot/sunspot","tags":["solr","search","fulltext","indexing"],"install":[{"cmd":"gem install sunspot","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'sunspot', '~> 2.7.1'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Sunspot","correct":"require 'sunspot'"}],"quickstart":{"code":"require 'sunspot'\nSunspot.setup(Post) do\n  text :title, :body\n  string :author_name\nend\nSunspot.search(Post) do\n  fulltext 'keyword'\n  with(:author_name, 'John')\nend","lang":"ruby","description":"Define a searchable model and perform a full-text search with a filter."},"warnings":[{"fix":"Ensure Solr is installed and configured (e.g., via sunspot_solr gem for development).","message":"Sunspot requires a running Solr server; it does not embed one.","severity":"gotcha","affected_versions":">= 0"}],"env_vars":null,"search_vec":"'all-rubi':4 'api':7 'class':22 'dsl':15 'engin':12 'fulltext':25 'index':17,26 'persist':20 'power':3 'provid':13 'rubi':6,21 'search':11,19,24 'solr':10,23 'sunspot':1","created_at":"2026-06-18T04:45:36.317706+00:00","updated_at":"2026-06-18T04:45:36.317706+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://outoftime.github.com/sunspot","github":"https://github.com/sunspot/sunspot","docs":"http://www.rubydoc.info/gems/sunspot/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}