# Chewy

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


Source: https://findsoftware.frbit.cloud/chewy/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- repository: https://github.com/toptal/chewy
- docs: https://github.com/toptal/chewy/tree/master/docs

### Identity

- status: active
- maintainer: Toptal, LLC
- maintainerType: company
- parent: unknown
- firstRelease: 2013
- hqCountry: unknown

### Kind

- category: search
- hosting: ruby
- language: ruby
- runtime: ruby
- runtimeMin: ruby 3.2
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: gem install, Gemfile

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 8
- latestReleaseDate: 2026-06-19

### Adoption

- githubStargazers: 1901
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 136
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 533
- dependentPackages: 7

### Sources

- urls: https://api.github.com/repos/toptal/chewy (read 2026-10-28)
- urls: https://raw.githubusercontent.com/toptal/chewy/master/README.md (read 2026-10-28)
- maintainer: https://raw.githubusercontent.com/toptal/chewy/master/LICENSE.txt (read 2026-10-28)
- language: https://api.github.com/repos/toptal/chewy (read 2026-10-28)
- category: https://raw.githubusercontent.com/toptal/chewy/master/README.md (read 2026-10-28)
- runtime: https://raw.githubusercontent.com/toptal/chewy/master/README.md (read 2026-10-28)
- runtimeMin: https://raw.githubusercontent.com/toptal/chewy/master/README.md (read 2026-10-28)
- installMethod: https://raw.githubusercontent.com/toptal/chewy/master/README.md (read 2026-10-28)
- license: https://api.github.com/repos/toptal/chewy (read 2026-10-28)
- licenseModel: https://raw.githubusercontent.com/toptal/chewy/master/LICENSE.txt (read 2026-10-28)
- firstRelease: https://rubygems.org/api/v1/versions/chewy.json (read 2026-10-28)
- currentMajor: https://api.github.com/repos/toptal/chewy/releases (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/toptal/chewy/releases (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/toptal/chewy (read 2026-10-28)
- contributors: https://api.github.com/repos/toptal/chewy/contributors?per_page=1 (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/chewy (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/chewy (read 2026-10-28)

## Notes

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](https://github.com/toptal/chewy/tree/master/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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
