maplesyrup/maple — pull request #195 by benrudolph (2013-04-08 06:05:01+00:00)
Title: Elasticsearch

Elasticsearch up and running for Posts and Companies (with tests!). You'll have to install elasticsearch on your computer for it to work brew install elasticsearch and start it up. You'll also need to load what you currently have in your db to elastic search:

rake environment tire:import CLASS='Post' FORCE=true
rake environment tire:import CLASS='Company' FORCE=true

Heroku only lets you have 2 shards for elasticsearch so we'll have to ask heroku for more if we want to use es on the User model. That seems to be later down the line though.

By the way, elasticsearch/tire is very finicky be prepared dive into docs. I've worked with it a decent amount so I might be able to help too.