# olivere/elastic

Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch

Repository: https://github.com/olivere/elastic
Canonical: https://ross.abutalabs.com/products/elastic
Homepage: https://olivere.github.io/elastic/
Language: Go
License: MIT
License Family: permissive
Topics: elasticsearch, go
Last push: 2024-08-08T07:48:39+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5018, "days_push": 755, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7447, forks 1143 (observed 2026-08-28T04:09:59.931309+00:00)

## What it is
A popular third-party Elasticsearch client library for Go, supporting Elasticsearch versions 1.x through 7.x with a fluent query DSL. It is now deprecated in favor of the official Elasticsearch Go client.

## Use cases
- index and search documents in Elasticsearch from Go
- build full-text search features in a Go web app
- run bulk indexing and aggregation queries
- query Elasticsearch logs programmatically
- manage Elasticsearch indices and mappings from Go code

## When to choose
- maintaining an existing Go codebase already using olivere/elastic
- working with Elasticsearch 7.x or older and preferring a fluent query DSL

## When to avoid
- starting a new Go project - use the official elastic/go-elasticsearch client
- using Elasticsearch 8.x or newer

## Facets
- artifact type: library
- maturity: maintenance
- function: database-driver, search-engine, http-client
- domain: databases, developer-tools
- platform: go, cross-platform
- tags: elasticsearch, deprecated, go-client, full-text-search, search

## Member repositories
- olivere/elastic (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:59.931309+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-29T17:37:41.204694+00:00, confidence not recorded.
  - readme: https://github.com/olivere/elastic (fetched 2026-08-28T04:09:59.931309+00:00, sha c61c46a9acb0)
  - homepage: https://olivere.github.io/elastic/ (fetched 2026-08-29T08:33:03.156664+00:00, sha e3f54a3b6040)
- Data as of 2026-08-30T08:39:29.467469+00:00.
