public
Description: Sphinx plugin for Rails and Merb
Homepage: http://ts.freelancing-gods.com
Clone URL: git://github.com/freelancing-god/thinking-sphinx.git
Click here to lend your support to: thinking-sphinx and make a donation at www.pledgie.com !
name age message
file .gitignore Sat Oct 31 22:55:41 -0700 2009 Reworking Cucumber setup. [freelancing-god]
file LICENCE Sun Apr 13 18:25:37 -0700 2008 ts to git [freelancing-god]
file README.textile Sat Oct 10 03:29:07 -0700 2009 Adding Édouard Brière to the contributors list,... [freelancing-god]
file Rakefile Tue Aug 11 05:36:03 -0700 2009 updated docs & contribute script for new/missin... [wardbekker]
file VERSION.yml Wed Nov 04 22:47:06 -0800 2009 Version bump to 1.3.2 [freelancing-god]
file contribute.rb Sun Oct 11 07:28:00 -0700 2009 Remove dependency on not_a_mock since it is not... [Édouard Brière]
file cucumber.yml Tue Nov 03 18:35:01 -0800 2009 Removing datetime deltas, finishing changes for... [freelancing-god]
directory features/ Tue Nov 03 18:35:01 -0800 2009 Removing datetime deltas, finishing changes for... [freelancing-god]
file ginger_scenarios.rb Fri Jul 31 13:40:37 -0700 2009 Neatening up Ginger Scenario file (and setting ... [freelancing-god]
file init.rb Fri Jan 02 09:56:02 -0800 2009 One more 1.2.x fix [freelancing-god]
file install.rb Tue Nov 03 18:35:01 -0800 2009 Removing datetime deltas, finishing changes for... [freelancing-god]
directory lib/ Wed Nov 04 22:46:44 -0800 2009 Reworking test helpers, making it easier to use... [freelancing-god]
directory rails/ Sat May 09 14:37:48 -0700 2009 Adding forced-load of I18n to ensure translatio... [freelancing-god]
directory recipes/ Sun Aug 02 04:15:48 -0700 2009 Autoloading capistrano tasks when using TS as a... [freelancing-god]
directory spec/ Mon Nov 02 19:14:22 -0800 2009 Version bump to 1.3.0 [freelancing-god]
directory tasks/ Tue Nov 03 18:35:01 -0800 2009 Removing datetime deltas, finishing changes for... [freelancing-god]
file thinking-sphinx.gemspec Wed Nov 04 22:47:23 -0800 2009 Updating gemspec for 1.3.2 [freelancing-god]
directory vendor/ Tue Nov 03 21:19:13 -0800 2009 Adding external world for using Cucumber and Th... [freelancing-god]
README.textile

Thinking Sphinx

Usage

First, if you haven’t done so already, check out the main usage page. Once you’ve done that, the next place to look for information is the specific method docs – ThinkingSphinx::Search and ThinkingSphinx::Index::Builder in particular.

Keep in mind that while Thinking Sphinx works for ActiveRecord with Merb, it doesn’t yet support DataMapper (although that is planned).

Contributing

Fork on GitHub and after you’ve committed tested patches, send a pull request.

To quickly see if your system is ready to run the thinking sphinx specs, run the contribute.rb script found in the project root directory. Use the following instructions to install any missing requirements.

To get the spec suite running, you will need to install the ginger gem:

sudo gem install ginger —source http://gemcutter.org

Then install the cucumber, yard, jeweler and rspec gems. Make sure you have a git install version 1.6.0.0 or higher, otherwise the jeweler gem won’t install.

sudo gem install cucumber yard jeweler rspec

Then set up your database:

cp spec/fixtures/database.yml.default spec/fixtures/database.yml mysqladmin -u root create thinking_sphinx

This last step can be done automatically by the contribute.rb script if all dependencies are met.

Make sure you don’t have another Sphinx daemon (searchd) running. If you do, quit it with “rake ts:stop”
in the app root.

You should now have a passing test suite from which to build your patch on.

rake spec

If you get the message “Failed to start searchd daemon”, run the spec with sudo:

sudo rake spec

If you quit the spec suite before it’s completed, you may be left with data in the test
database, causing the next run to have failures. Let that run complete and then try again.

Contributors

Since I first released this library, there’s been quite a few people who have submitted patches, to my immense gratitude. Others have suggested syntax changes and general improvements. So my thanks to the following people:

  • Joost Hietbrink
  • Jonathan Conway
  • Gregory Mirzayantz
  • Tung Nguyen
  • Sean Cribbs
  • Benoit Caccinolo
  • John Barton
  • Oliver Beddows
  • Arthur Zapparoli
  • Dusty Doris
  • Marcus Crafter
  • Patrick Lenz
  • Björn Andreasson
  • James Healy
  • Jae-Jun Hwang
  • Xavier Shay
  • Jason Rust
  • Gopal Patel
  • Chris Heald
  • Peter Vandenberk
  • Josh French
  • Andrew Bennett
  • Jordan Fowler
  • Seth Walker
  • Joe Noon
  • Wolfgang Postler
  • Rick Olson
  • Killian Murphy
  • Morten Primdahl
  • Ryan Bates
  • David Eisinger
  • Shay Arnett
  • Minh Tran
  • Jeremy Durham
  • Piotr Sarnacki
  • Matt Johnson
  • Nicolas Blanco
  • Max Lapshin
  • Josh Natanson
  • Philip Hallstrom
  • Christian Rishøj
  • Mike Flester
  • Jim Remsik
  • Kennon Ballou
  • Henrik Nyh
  • Emil Tin
  • Doug Cole
  • Ed Hickey
  • Evan Weaver
  • Thibaut Barrere
  • Kristopher Chambers
  • Dmitrij Smalko
  • Aleksey Yeschenko
  • Lachie Cox
  • Lourens Naude
  • Tom Davies
  • Dan Pickett
  • Alex Caudill
  • Jim Benton
  • John Aughey
  • Keith Pitty
  • Jeff Talbot
  • Dana Contreras
  • Menno van der Sman
  • Bill Harding
  • Isaac Feliu
  • Andrei Bocan
  • László Bácsi
  • Peter Wagenet
  • Max Lapshin
  • Martin Emde
  • David Wennergren
  • Mark Lane
  • Eric Lindvall
  • Lawrence Pit
  • Mike Bailey
  • Bill Leeper
  • Michael Reinsch
  • Anderson Dias
  • Jerome Riga
  • Tien Dung
  • Johannes Kaefer
  • Paul Campbell
  • Matthew Beale
  • Tom Simnett
  • Erik Ostrom
  • Ole Riesenberg
  • Josh Kalderimis
  • J.D. Hollis
  • Jeffrey Chupp
  • Rob Anderton
  • Zach Inglis
  • Ward Bekker
  • Brian Terlson
  • Christian Aust
  • Martin Sarasale
  • Édouard Brière