public
Fork of freelancing-god/thinking-sphinx
Description: Sphinx plugin for Rails and Merb
Homepage: http://ts.freelancing-gods.com
Clone URL: git://github.com/isaacfeliu/thinking-sphinx.git
name age message
file .gitignore Mon Jul 21 20:23:37 -0700 2008 Getting Sphinx working within specs, to try to ... [freelancing-god]
file LICENCE Sun Apr 13 18:25:37 -0700 2008 ts to git [freelancing-god]
file README Fri Mar 06 21:48:59 -0800 2009 Adding Menno van der Sman as a contributor [freelancing-god]
file README.textile Fri Mar 06 21:48:59 -0800 2009 Adding Menno van der Sman as a contributor [freelancing-god]
file Rakefile Fri Mar 13 17:14:16 -0700 2009 playing around with polymorphic models [dpickett]
file contribute.rb Thu Jan 08 14:43:55 -0800 2009 finished basic contribute script [lachie]
file cucumber.yml Thu Mar 05 22:21:22 -0800 2009 test case for extensible delta indexing [dpickett]
directory features/ Sun Mar 15 16:32:33 -0700 2009 Can now drill down on facets by multiple values [freelancing-god]
file ginger_scenarios.rb Mon Feb 09 04:32:56 -0800 2009 Adding 2.3 to ginger scenarios, fixing ActiveRe... [freelancing-god]
file init.rb Fri Jan 02 09:56:02 -0800 2009 One more 1.2.x fix [freelancing-god]
directory lib/ Loading commit data...
directory rails/ Sat Nov 08 22:32:00 -0800 2008 Adding load_models calls to rails/init.rb, as R... [freelancing-god]
directory spec/ Fri Mar 13 02:50:33 -0700 2009 Tweaking pending spec - although maybe I'm misu... [freelancing-god]
directory tasks/ Fri Jan 16 22:46:14 -0800 2009 Neatening up public and dev rake tasks - influe... [freelancing-god]
file thinking-sphinx.gemspec Tue Mar 10 06:26:55 -0700 2009 Version bump - should have happened a while ago... [freelancing-god]
directory vendor/ Mon Feb 09 03:34:38 -0800 2009 Refactoring to allow for other after_commit cal... [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 not-a-mock gem if you don’t already have it:

git clone git://github.com/freelancing-god/not-a-mock.git cd not-a-mock rake gem gem install pkg/not_a_mock-1.1.0.gem

Then install the ginger gem. The steps are the same, except that you might need to sudo the gem install:

git clone git://github.com/freelancing-god/ginger.git cd ginger rake gem sudo gem install pkg/ginger-1.1.0.gem

Then set up your database:

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

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