Skip to content

Simplified version of sunspot_rails gem to enable usage of sunspot+active_record -based models in not Rails projects

Notifications You must be signed in to change notification settings

ogorun/sunspot_activerecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sunspot_activerecord is simplified (just reduced) version of sunspot_rails gem (see http://outoftime.github.com/sunspot/) to enable usage of sunspot+active_record -based models in not Rails projects. 

Like original sunspot_rails gem it provides sunspot adapters for activerecord, expands ActiveRecord::Base class with method searchable, that configures Sunspot to index specific model and adds some methods for work with sunspot.

Main difference: sunspot_activerecord doesn't make assumptions about request processing specifity (no ActionController work) and doesn't provide bulk operations at the end of request cycle. That's why in default configuration it indexes and commit model changes on every suitable change.

Current version doesn't include also sunspot server and session configuration.


About

Simplified version of sunspot_rails gem to enable usage of sunspot+active_record -based models in not Rails projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages