elasticsearch-ruby
AGENTS.md2k starsChanged 4 months agoApache-2.0View on GitHub
Always use bundle and rake commands, not any third-party packaging tools. rake test:client must pass before you commit code. Integration tests require Elasticsearch running on localhost:9200. They are skipped automatically if no server is available, so a failing integration test in CI always means a real failure. This repo contains two subprojects, each with its own Gemfile and Rakefile: Top-level Rakefile and rake_tasks/ orchestrate tasks across all subprojects. If a specific action you learned to do better will be useful…
Trending
Quiet since August.about the whole repository
Who's talking about elastic/elasticsearch-ruby
- uken/fluent-plugin-elasticsearch“Use latest elasticsearch-ruby”GitHub · Feb 8, 2017 · 7 reactions
- artsy/README“RFC: use version constraints for deps”GitHub · Jun 5, 2026 · 6 reactions
- elastic/elastic-transport-ruby“Using async-http as a transport”GitHub · Dec 23, 2019 · 3 reactions
- mastodon/mastodon“Support Elasticsearch 7.0”GitHub · May 1, 2019 · 3 reactions
- elastic/docs-builder“Add clients to updatecli automation”GitHub · Dec 4, 2025 · 2 reactions
The biggest 5 of 28 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 28
Talked about on GitHub (28 times).
On GitHub · 28
- Feb 8, 2017Use latest elasticsearch-ruby — uken/fluent-plugin-elasticsearch7 reactions · 17 comments
- Jun 5, 2026RFC: use version constraints for deps — artsy/README6 reactions · 8 comments
- Dec 23, 2019Using async-http as a transport — elastic/elastic-transport-ruby3 reactions · 8 comments
- May 1, 2019Support Elasticsearch 7.0 — mastodon/mastodon3 reactions · 5 comments
- Dec 4, 2025Add clients to updatecli automation — elastic/docs-builder2 reactions · 3 comments
23 more on GitHub
- Jun 9, 2022Use self.client instead of client — elastic/elasticsearch-rails2 reactions · 4 comments
- Aug 5, 2021Undefined method 'logger' after update to elasticsearch gem v7.14.0 — elastic/elasticsearch-rails2 reactions · 1 comment
- Feb 6, 2017Wrapping results in Hashie::Mash 3.5.1 causes logs to be flooded with warnings — elastic/elasticsearch-rails2 reactions · 8 comments
- Sep 1, 2015Add support for doc_as_upsert and scripted_upsert — elastic/elasticsearch-rails2 reactions · 3 comments
- Mar 17, 2025Clean up broken links and unused variables in docset.yml files — elastic/docs-content1 reaction · 2 comments
- Feb 10, 2022Updates Manticore User-Agent setup — elastic/elastic-transport-ruby1 reaction
- Jan 19, 2022queued_chunks_limit_size not honored with elasticsearch output — fluent/fluentd1 reaction · 2 comments
- Dec 14, 2021Workaround to use with elasticsearch gem 7.14 or later — atomita/fluent-plugin-aws-elasticsearch-service1 reaction · 2 comments
- Aug 4, 2021Fixate elasticsearch gem version < 7.14.0 — toptal/chewy1 reaction · 1 comment
- Mar 1, 2021Stop emitting FATAL log when checking existence of indices — elastic/elasticsearch-rails1 reaction · 3 comments
- Jul 7, 2020Make gem compatible with elasticsearch v7 — goldstar/newrelic-elasticsearch1 reaction · 9 comments
- Jan 30, 2020DSL constantizes & instantiates a class on method_missing — elastic/elasticsearch-dsl-ruby1 reaction
- Jun 1, 2016Error when trying to import too much data in one batch — elastic/elasticsearch-rails1 reaction · 2 comments
- Aug 25, 2026build(deps): bump elasticsearch from 9.3.0 to 9.5.0 — GovWifi/govwifi-admin0 reactions
- Aug 10, 2026Bump elasticsearch from 8.19.1 to 8.19.3 in /server — EliteKnightWork/AIWorkflow-PublicSales0 reactions
- Jun 23, 2026build(deps): bump elasticsearch from 9.4.0 to 9.4.3 — huynhlong2706/Jobs-Crawler0 reactions
- Jun 19, 2026Bump elasticsearch from 8.19.3 to 9.4.3 — lxkuz/dynamic-mcp0 reactions
- Jun 17, 2026chore(deps): bump elasticsearch from 8.19.3 to 9.4.3 — LiquiNaut/ChataHub0 reactions
- Jun 17, 2026Bump elasticsearch from 8.19.2 to 8.19.3 — NitinRajput121/Rails-Ecommerce0 reactions
- Jun 8, 2026Bump elasticsearch from 9.3.1 to 9.4.1 — Podrobynka/cgt-test-be0 reactions
- Jun 4, 2026Bump elasticsearch from 9.4.0 to 9.4.1 — uchihiro04/awesome_events-practice-0 reactions
- Apr 10, 2026Bump elasticsearch from 9.3.0 to 9.3.1 — taufiktop/restaurant-api0 reactions
- Apr 7, 2026Bump elasticsearch from 9.3.0 to 9.3.1 — Kenty-725/awsome_events0 reactions
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Always use bundle and rake commands, not any third-party packaging tools.
- Very specific: line 8
Run unit and client tests: rake test:client
- Very specific: line 9
Run YAML API tests: rake test:yaml
- Very specific: line 29
Run rake bundle to install dependencies in all subprojects.
- Very specific: line 31
Run rake test:client to verify unit tests pass.
- Very specific: line 32
If your change touches API behaviour, also run rake test:yaml.
- Very specific: line 36
If a specific action you learned to do better will be useful to other agents doing the same task in the future, but may not be needed for …
- Distinctive: line 38
If you learned something that will be useful to any contributor to this project, update AGENTS.md.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Setup commands
Always use bundle and rake commands, not any third-party packaging tools.
- Install dependencies for all subprojects:
rake bundle - Run unit and client tests:
rake test:client - Run YAML API tests:
rake test:yaml - See all available test tasks:
rake -T
Testing
rake test:client must pass before you commit code.
Integration tests require Elasticsearch running on localhost:9200. They are skipped automatically if no server is available, so a failing integration test in CI always means a real failure.
Project Structure
This repo contains two subprojects, each with its own Gemfile and Rakefile:
- elasticsearch/ - main gem (client, transport, DSL)
- elasticsearch-api/ - generated API layer and YAML test runner
Top-level Rakefile and rake_tasks/ orchestrate tasks across all subprojects.
Development Workflow
- Run
rake bundleto install dependencies in all subprojects. - Make changes to files in the relevant subproject.
- Run
rake test:clientto verify unit tests pass. - If your change touches API behaviour, also run
rake test:yaml.
Adding new agent instructions
If a specific action you learned to do better will be useful to other agents doing the same task in the future, but may not be needed for all agent-related tasks, create or update skills in .github/skills/.
If you learned something that will be useful to any contributor to this project, update AGENTS.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

