The project is in a healthy, maintained state
Because it's rampant through your codebase, and you can't upgrade to Rails 3 otherwise.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

>= 3.2.14
 Project Readme

ModernSearchlogic

Searchlogic for Rails 3+!

Note: this is a fork of Genius/modern_searchlogic. Unlike upstream, this repository is published to RubyGems (and has versioning).

Supported Versions

The Gem is tested on Rails 3-8 (except 6, because I'm lazy), using the latest version available. For the older versions, it uses Rails LTS so we don't need to maintain Ruby 3 patches here as well.

The gem might work on Ruby 2, but it is only tested against Ruby 3.3.

Usage

Just add the Gem to your gemspec, and the searchlogic methods will be available. Refer to the searchlogic documentation for more details.

Contributing

Optional, but required for running specs against Rails 3-5: a Rails LTS subscription. If you do have one, create a .bundle/config with contents:

---
BUNDLE_GEMS__RAILSLTS__COM: "theusername:thepassword"
  • Install Ruby 3.3
  • Run bundler install
  • If you DON'T have a Rails LTS subscription, comment out the Rails 3-5 appraisals in the Appraisal file
  • Run bundler exec appraisal install
  • Start the database. You can use Docker compose to do this the easy way. If you go the manual route, make sure authentication is optional
  • You are now ready!

Running Specs

# Run for ALL Rails versions:
$ bundle exec rake test

# OR for a specific Rails version only (replace 7 with the major version of Rails):
$ bundle exec rake rspec7