Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

integrate elasticsearch realtime indexing to your Rails application

This branch is 0 commits ahead and 0 commits behind master

bump version

latest commit cb888292ca
Ryan Sonnek authored May 03, 2011
Octocat-spinner-32 lib bump version May 03, 2011
Octocat-spinner-32 test fix double encoding of json for bulk import May 03, 2011
Octocat-spinner-32 .document Initial commit to elastic_searchable. January 24, 2011
Octocat-spinner-32 .gitignore add ignores April 12, 2011
Octocat-spinner-32 CONTRIBUTORS.txt update license April 21, 2011
Octocat-spinner-32 Gemfile cherry pick rails3 April 12, 2011
Octocat-spinner-32 LICENSE.txt update license April 21, 2011
Octocat-spinner-32 update license April 21, 2011
Octocat-spinner-32 Rakefile cherry pick rails3 April 12, 2011
Octocat-spinner-32 elastic_searchable.gemspec add more complex to_json config April 12, 2011


Integrate the elasticsearch library into Rails.


class Blog < ActiveRecord::Base

results = 'foo'


  • fast. fast! FAST! 30% faster than rubberband on average.
  • active record callbacks automatically keep search index up to date as your data changes
  • out of the box background indexing of data using backgrounded. Don't lock up a foreground process waiting on a background job!
  • integrates with will_paginate library for easy pagination of search results


# Bundler Gemfile
gem 'elastic_searchable'


# config/initializers/elastic_searchable.rb
# (optional) customize elasticsearch host
# default is localhost:9200
ElasticSearchable.base_uri = 'server:9200'


  • Fork the project
  • Fix the issue
  • Add unit tests
  • Submit pull request on github

See CONTRIBUTORS.txt for list of project contributors


Copyright (c) 2011 Socialcast, Inc. See LICENSE.txt for further details.

Something went wrong with that request. Please try again.