Giter Site home page Giter Site logo

thinking-sphinx's Introduction

Thinking Sphinx

Please note: this is the branch for Rails 3. At some point in the near future, it will be released as Thinking Sphinx 2.0. It does not work with versions of Rails before v3 – I’m not sure if that’ll happen in the future, but was just too much hassle right now.

If you want to give this a spin, clone the repo, check out the rails3 branch, and run rake build to generate the gem.

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. Bluecloth is required for some of the yard documentation.

  sudo gem install bluecloth 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
  • Steve Madsen
  • Justin DeWind
  • Chris Z
  • Chris Roos
  • Andrew Assarattanakul
  • Jonas von Andrian
  • Dimitri Krassovski
  • Sergey Kojin
  • Brad Sumersford
  • Amir Yalon
  • Edgars Beigarts
  • Ivan Ukhov
  • Tomáš Pospíšek
  • Jeffrey Hardy
  • David Heinemeier Hansson
  • Jimmy Hsu
  • Bruno Michel
  • Joren De Groof
  • Jan De Poorter
  • Tom Stuart
  • James Brooks
  • Andrew Coldham
  • Mark Dodwell
  • Frédéric Malamitsas
  • Jon Gubman
  • Michael Schuerig
  • Ben Hutton
  • Alfonso Jiménez
  • Szymon Nowak

thinking-sphinx's People

Contributors

pat avatar henrik avatar yob avatar rob-at-thewebfellas avatar joshk avatar zmack avatar nono avatar labria avatar nixme avatar jdewind avatar kristopher avatar lackac avatar martinemde avatar simmerz avatar quasor avatar crishoj avatar eostrom avatar ryanb avatar xaviershay avatar lachie avatar iamaleksey avatar potatosalad avatar webgago avatar arthurgeek avatar bterlson avatar nevernormal2 avatar packagethief avatar jeremydurham avatar methodmissing avatar paulca avatar

Stargazers

 avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.