FindSoftware

Elasticsearch Rails

Ruby gem of Elasticsearch integrations for Ruby on Rails applications, maintained by Elastic.

Elasticsearch Rails is a Ruby gem that adds Elasticsearch integrations to Rails applications. Its features include an ActiveModel integration with adapters for ActiveRecord and Mongoid, convenience model methods for search and import, wrappers that return search results as records, pagination support for Kaminari and WillPaginate, and rake tasks for importing data. The README also lists templates that generate an example Rails application.

The repository holds three gems: elasticsearch-model, elasticsearch-persistence and elasticsearch-rails. The gem described here is elasticsearch-rails, and it is installed with gem install. The Elasticsearch client itself comes from the separate elasticsearch-ruby project. The example application template needs a running Elasticsearch cluster.

Worth knowing

The gem follows the Elasticsearch major version, so its version 8 line targets Elasticsearch 8.x. The README points to Elastic’s support lifecycle page to check which releases are still supported.

Identity

Status
Active
Maintainer
Elasticsearch B.V.3
Maintained by
Company
First release
20134

Rendering and deploy

Install with
gem install3

Releases

Current major version
86
Last release
2025-09-016

Adoption

GitHub stars
3,0831
Contributors
997
Dependent repositories
2,4958
Dependent packages
228

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, GitHub stars
    api.github.com/repos/elastic/elasticsearch-rails
  2. 2026-10-28: links
    rubygems.org/api/v1/gems/elasticsearch-rails.json
  3. 2026-10-28: Maintainer, Categories, Built on, License, Install with
    raw.githubusercontent.com/elastic/elasticsearch-rails/main/README.md
  4. 2026-10-28: First release
    rubygems.org/api/v1/versions/elasticsearch-rails.json
  5. 2026-10-28: Runtime, Minimum runtime
    raw.githubusercontent.com/elastic/elasticsearch-rails/v8.0.1/elasticsearch-rails/elasticsearch-rails.gemspec
  6. 2026-10-28: Current major version, Last release
    api.github.com/repos/elastic/elasticsearch-rails/releases/tags/v8.0.1
  7. 2026-10-28: Contributors
    api.github.com/repos/elastic/elasticsearch-rails/contributors?per_page=1
  8. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/elasticsearch-rails

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON