elasticsearch-net
AGENTS.md3.6k starsChanged 4 months agoApache-2.0View on GitHub
The repository builds with the standard .NET SDK CLI; the SDK version is pinned in global.json. - Build the client: dotnet build src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj - Build and test the request converter: dotnet test RequestConverter.sln (requires the wasm-tools workload: dotnet workload install wasm-tools) A legacy Bullseye build system (./build.sh, .\build.bat, driven by the F# project build/scripts/scripts.fsproj) still backs a few CI workflows. It is planned to be modernized or removed; do not use it for local development. There is no separate lint…
Trending
Quiet since September.about the whole repository
Who's talking about elastic/elasticsearch-net
- dotnet/runtime“[API Proposal]: ReadOnly empty collection singletons”GitHub · Sep 22, 2022 · 16 reactions
- olivere/elastic“Add Point in Time API functionality”GitHub · Nov 13, 2020 · 8 reactions
- elastic/elasticsearch-specification“Multiple processor classes are missing”GitHub · Aug 9, 2023 · 4 reactions
- OrchardCMS/OrchardCore“Elasticsearch feature :sparkles::boom: (Lombiq Technologies: OSOE-83)”GitHub · Jan 22, 2022 · 4 reactions
- dotnet/runtime“HttpClient socket reuse behavior different on linux/osx/win”GitHub · Jun 19, 2017 · 4 reactions
The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 26
Talked about on GitHub (26 times).
On GitHub · 26
- Sep 22, 2022[API Proposal]: ReadOnly empty collection singletons — dotnet/runtime16 reactions · 19 comments
- Nov 13, 2020Add Point in Time API functionality — olivere/elastic8 reactions · 1 comment
- Aug 9, 2023Multiple processor classes are missing — elastic/elasticsearch-specification4 reactions
- Jan 22, 2022Elasticsearch feature :sparkles::boom: (Lombiq Technologies: OSOE-83) — OrchardCMS/OrchardCore4 reactions · 61 comments
- Jun 19, 2017HttpClient socket reuse behavior different on linux/osx/win — dotnet/runtime4 reactions · 8 comments
21 more on GitHub
- Dec 29, 2016Migrate low level code to Elasticsearch.NET — ElasticLINQ/ElasticLINQ3 reactions · 6 comments
- Dec 4, 2025Add clients to updatecli automation — elastic/docs-builder2 reactions · 3 comments
- Mar 27, 2024[BUG] Recently updated dependency Elastic.Transport 0.4.18 break the use of ElasticsearchSinkOptions — elastic/ecs-dotnet2 reactions · 3 comments
- Jul 4, 2019track_total_hits should be Union of boolean and integer — elastic/elasticsearch2 reactions · 3 comments
- Jan 3, 2019Enforced codestyles through editorconfig and resharper settings. — elastic/apm-agent-dotnet2 reactions · 6 comments
- Feb 25, 2026Add `LOOKUP JOIN` support and various fixes — elastic/esql-dotnet1 reaction · 1 comment
- Apr 28, 2025Change `InnerHits.fields` from `Fields` to `Field[]` — elastic/elasticsearch-specification1 reaction · 2 comments
- Mar 17, 2025Clean up broken links and unused variables in docset.yml files — elastic/docs-content1 reaction · 2 comments
- Mar 6, 2025Add search_inference_id property — elastic/elasticsearch-specification1 reaction · 2 comments
- Jul 2, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.4 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 21, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.3 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 14, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.2 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 12, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.1 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 7, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.0 — ErsatzTV/legacy1 reaction · 1 comment
- May 30, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.13.15 — ErsatzTV/legacy1 reaction · 1 comment
- May 29, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.13.13 — ErsatzTV/legacy1 reaction · 1 comment
- Feb 9, 2024[Feature] Implement support for AOT compilation — elastic/elastic-transport-net1 reaction
- Oct 25, 2019Range queries logs inconsistent with documentation — elastic/elasticsearch1 reaction · 7 comments
- Jun 24, 2019Add support for Elasticsearch.Net — elastic/apm-agent-dotnet1 reaction · 3 comments
- May 31, 2019Feature request: List stored scripts endpoint. — elastic/elasticsearch1 reaction · 4 comments
- Sep 22, 2026Bump Elastic.Clients.Elasticsearch from 8.17.1 to 9.5.2 — ericksonlopezf/dotnet-pagination0 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.
In this repositoryOne other file it gives its agents.
- release-runbookSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
tests/: - test projects (see Testing)
- Very specific: line 49
All code and scripts must work on Windows, macOS, and Linux.
- Distinctive: line 53
All markdown instructions authored for other agents must be as concise as possible.
- Very specific: line 55
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 57
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
The repository builds with the standard .NET SDK CLI; the SDK version is pinned in global.json.
- Build the client:
dotnet build src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj - Build and test the request converter:
dotnet test RequestConverter.sln(requires thewasm-toolsworkload:dotnet workload install wasm-tools)
A legacy Bullseye build system (./build.sh, .\build.bat, driven by the F# project build/scripts/scripts.fsproj)
still backs a few CI workflows. It is planned to be modernized or removed; do not use it for local development.
There is no separate lint command. Code style is defined in .editorconfig and checked with dotnet format in
reporting mode, e.g. dotnet format src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj
--verify-no-changes. The tree carries pre-existing violations, so only make sure your changes do not add new ones.
Testing
Most of the test suite under tests/ was never ported from the 7.x client to 8.x, so there is effectively no public
unit or integration test coverage for the client. Do not rely on these projects and do not extend them; verify client
changes by making sure the client project builds cleanly.
The request converter is the exception: dotnet test RequestConverter.sln runs tests/RequestConverter.Tests and
must pass.
Project Structure
- build/ - legacy build scripts (see Setup commands)
- src/Elastic.Clients.Elasticsearch/ - the Elasticsearch client
- src/RequestConverter/ - converts Elasticsearch API request examples into .NET client code, with src/RequestConverter.Console/ as CLI frontend and src/RequestConverter.Wasm/ as WASM/npm packaging
- tests/ - test projects (see Testing)
Generated code
src/Elastic.Clients.Elasticsearch/_Generated/ and src/RequestConverter/_Generated/ contain code produced by a
source generator that lives in a private repository. Never edit files in these directories manually; any manual
change will be overwritten on the next regeneration.
Development Workflow
- Make changes to files under
src/, never inside a_Generated/directory - Build the affected project(s) with
dotnet build - For request converter changes, run
dotnet test RequestConverter.sln
OS Compatibility
All code and scripts must work on Windows, macOS, and Linux. The dotnet CLI commands above are cross-platform.
Adding new agent instructions
All markdown instructions authored for other agents must be as concise as possible.
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 .claude/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.

