FindSoftware

Chewy

Object document mapper for Elasticsearch in Ruby, built on the official elasticsearch-ruby client, with ActiveRecord integration.

Chewy is an object document mapper for Elasticsearch, written in Ruby and built on the official elasticsearch-ruby client. Index classes declare which model attributes become document fields, and the index is updated through bulk imports and atomic update strategies. Its chainable query DSL builds search requests against those indexes. The gem integrates with ActiveRecord and updates indexes on model changes through update_index callbacks, and the docs describe use without Rails. Installation is through the gem, and the Elasticsearch server runs separately.

Worth knowing

Chewy targets Elasticsearch, and the README says OpenSearch is not officially supported. Each major Chewy version follows a major Elasticsearch version, and minor versions may include breaking changes.

Identity

Status
Active
Maintainer
Toptal, LLC3
Maintained by
Company
First release
20134

Rendering and deploy

Install with
gem install, Gemfile2

Releases

Current major version
85
Last release
2026-06-195

Adoption

GitHub stars
1,9011
Contributors
1366
Dependent repositories
5337
Dependent packages
77

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/toptal/chewy
  2. 2026-10-28: links, Categories, Runtime, Minimum runtime, Install with
    raw.githubusercontent.com/toptal/chewy/master/README.md
  3. 2026-10-28: Maintainer, License model
    raw.githubusercontent.com/toptal/chewy/master/LICENSE.txt
  4. 2026-10-28: First release
    rubygems.org/api/v1/versions/chewy.json
  5. 2026-10-28: Current major version, Last release
    api.github.com/repos/toptal/chewy/releases
  6. 2026-10-28: Contributors
    api.github.com/repos/toptal/chewy/contributors?per_page=1
  7. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/chewy

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