Registry / database / sunspot-rails

sunspot-rails

JSON →
library2.7.1rbrubygemsunverified

Sunspot::Rails integrates the Sunspot Solr search library with ActiveRecord, providing search and indexing methods on models and automatic commit at the end of each Rails request.

gem install sunspot_rails
INSTALL
IMPORT
SIG · SUNSPOT-RAILS
S
sunspot-rails
databaserubyv2.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Sunspot::Rails
✓ require 'sunspot/rails'

Define a searchable ActiveRecord model and perform a fulltext search.

require 'sunspot/rails' class Post < ActiveRecord::Base searchable do text :title, :body end end Post.search { fulltext 'hello' }.results
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.7.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
sunspot-rails — gem install sunspot-rails · libregistry