# karmi/retire

A rich Ruby API and DSL for the Elasticsearch search engine

Repository: https://github.com/karmi/retire
Canonical: https://ross.abutalabs.com/products/retire
Homepage: http://karmi.github.com/retire/
Language: Ruby
License: MIT
License Family: permissive
Archived: true
Last push: 2018-04-18T18:50:17+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5686, "days_push": 3059, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1847, forks 518 (observed 2026-08-28T04:05:43.550196+00:00)

## What it is
Tire (renamed to 'retire') is a Ruby client library and DSL for the Elasticsearch search engine, offering fluent query building and ActiveModel/ActiveRecord integration for Rails apps. It was officially retired in September 2013 and is not compatible with Elasticsearch 1.x; users should use the elasticsearch-rails gems instead.

## Use cases
- index and search documents in elasticsearch from ruby
- build elasticsearch queries with a fluent dsl
- integrate elasticsearch with activerecord models in rails
- run full-text search over  rest api in ruby
- manage elasticsearch indices from ruby code

## When to choose
- maintaining a legacy ruby application already built on tire with elasticsearch 0.20.x
- studying dsl design for search client libraries

## When to avoid
- starting a new ruby project needing elasticsearch
- running elasticsearch 1.x or newer
- needing maintained, supported search integration

## Facets
- artifact type: library
- maturity: abandoned
- function: search-engine, database-driver, http-client
- domain: databases, web-development
- platform: ruby, jvm
- tags: elasticsearch, dsl, ruby-gem, full-text-search, retired, activemodel, search

## Member repositories
- karmi/retire (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:43.550196+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:17:50.721634+00:00, confidence not recorded.
  - readme: https://github.com/karmi/retire (fetched 2026-08-28T04:05:43.550196+00:00, sha 2d48922437c0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
