🔎 Open source distributed and RESTful search engine. https://opensearch.org/docs/latest/opensearch/index/
  • Java 96.3%
  • Rust 3.3%
  • Groovy 0.2%
Find a file
Tejas Shah a218666134
Keep top-level fetch fields out of codec source excludes (#23817)
codecSourceExcludes only subtracted fields requested by inner hits, not the
top-level fields API. With a source-aware codec (e.g. k-NN derived source), a
search with "fields": ["vec"] and a _source exclude covering vec passed that
exclude to the codec, so vec was never reconstructed and was returned in
neither fields nor _source.

Treat top-level fetch fields like inner-hit includes so overlapping excludes
are dropped from the codec excludes while the returned _source still honours
them.

Signed-off-by: Tejas Shah <shatejas@amazon.com>
2026-12-02 21:19:41 -08:00
.ci Track 2.19.8 for backwards compatibility (#23756) 2026-11-25 16:53:58 -05:00
.github Bump actions/cache from 4.3.0 to 6.1.0 (#23281) 2026-11-29 20:52:42 -05:00
.idea Add circuit breaking logic for shard level results (#19066) 2025-08-16 03:16:36 +05:30
benchmarks Speed up keyword field collapsing (#23031) 2026-12-02 13:19:35 -08:00
buildSrc Tell FIPS builds and FIPS mode apart in FipsBuildParams (#23822) 2026-12-02 07:57:36 -05:00
client Update Reactor Netty to 1.4.0 and Project Reactor to 3.9.0 (#23769) 2026-11-29 11:47:12 -05:00
dev-tools Used set to make shell scripts more strict (#3278) 2022-05-16 14:05:13 -04:00
distribution Enable native access for CLI tools and the server (#23500) 2026-11-21 23:19:27 -05:00
doc-tools Add pluginManagement block to avoid Maven Central throttling (#21853) 2026-05-27 14:38:00 -04:00
docs Update Gradle to 8.5 (#11136) 2023-11-30 15:18:19 -05:00
formal-models Auto-restore remote store primaries on node loss when no valid copy survives (#22904) 2026-09-09 11:43:04 +05:30
gradle Upgrade the Gradle wrapper to 9.9.3 (#23807) 2026-12-01 21:36:39 -05:00
libs Bump org.jruby.joni:joni from 2.2.9 to 2.2.12 in /libs/grok (#23761) 2026-11-29 19:40:24 -05:00
licenses Remove the Elastic license file, all checks for this license and the license REST APIs. (#12) 2021-03-13 10:36:07 -06:00
modules Skip query_string wildcard tests before 3.11 (#23748) 2026-11-25 07:12:55 -05:00
plugins Run the ingestion plugin tests in FIPS mode (#23834) 2026-12-02 21:57:39 -05:00
qa Fix flaky RestResponseFailureIT breaker check (#23746) 2026-12-02 21:40:13 -05:00
release-notes Add release notes for 3.10.1 (#23737) (#23738) 2026-11-24 14:13:12 -05:00
rest-api-spec Skip query_string wildcard tests before 3.11 (#23748) 2026-11-25 07:12:55 -05:00
sandbox Align HttpCore HTTP/2 versions in sandbox (#23772) 2026-11-30 11:39:10 -05:00
scripts Revert "build no-jdk distributions as part of release build (#4902)" (#5465) 2022-12-09 07:53:42 -05:00
server Keep top-level fetch fields out of codec source excludes (#23817) 2026-12-02 21:19:41 -08:00
test Bump com.squareup.okio:okio in /test/fixtures/hdfs-fixture (#23759) 2026-11-27 14:18:16 -05:00
.dir-locals.el Go back to 140 column limit in .dir-locals.el 2017-04-14 08:50:53 -06:00
.editorconfig Remove default indent from .editorconfig (#49183) 2019-11-18 08:05:53 +00:00
.gitattributes Remove manual CHANGELOG.md process (#21083) 2026-04-03 10:44:22 -05:00
.gitignore Remove stale per-crate Cargo.lock files (#23038) 2026-09-16 19:08:27 +05:30
.lychee.excludes Upgrade and fix link checker to 1.2. (#1811) 2021-12-27 11:23:52 -06:00
.whitesource Add .whitesource configuration file (#14043) 2024-06-11 10:46:29 -04:00
ADMINS.md Update ADMINS.md (#18445) 2025-06-06 15:45:40 -04:00
AGENTS.md Stop issue triage from creating bogus labels (#23695) 2026-11-23 14:30:25 -06:00
build.gradle Upgrade the Gradle wrapper to 9.9.3 (#23807) 2026-12-01 21:36:39 -05:00
CHANGELOG.md Remove CHANGELOG entries re-added on a rebase (#21155) 2026-04-07 11:37:11 -05:00
CODE_OF_CONDUCT.md Code of Conduct (#18364) 2025-05-27 15:09:29 -05:00
codecov.yml Add parquet-data-format plugin (#20930) 2026-04-01 10:29:23 +05:30
CONTRIBUTING.md Disable sandbox by default for publication, require passing -Dsandbox.enabled=true (#21125) 2026-04-09 18:05:38 +05:30
DEVELOPER_GUIDE.md Gradle Check migration to LF Jenkins (#23656) 2026-11-24 15:10:01 -05:00
gradle.properties Set Gradle warning mode back to fail (#20390) 2026-01-08 15:06:19 -06:00
gradlew Update Gradle to 9.7.1 (#22719) 2026-08-31 09:18:46 -04:00
gradlew.bat Upgrade the Gradle wrapper to 9.9.3 (#23807) 2026-12-01 21:36:39 -05:00
LICENSE.txt Update LICENSE.txt 2021-03-22 09:25:46 -05:00
MAINTAINERS.md Add Shourya Dutta Biswas (shourya035) as a maintainer (#23816) 2026-12-01 14:39:59 -08:00
NOTICE.txt Added New DateTime parser implementation (#11465) 2024-01-24 16:38:23 -05:00
PERFORMANCE_BENCHMARKS.md Add ClickBench streaming aggregation benchmark (#22836) 2026-08-25 11:22:13 -07:00
README.md Add OpenSSF Best Practices badge (#20605) 2026-02-11 18:27:46 -06:00
RELEASING.md Added a new line linter (#2875) 2022-04-13 14:14:18 -04:00
SECURITY.md Link to the security response process in SECURITY.md (#21641) 2026-05-13 23:18:48 -05:00
settings.gradle Remove MacOS/x64 archive distributions (#23160) 2026-09-30 10:02:10 -05:00
TESTING.md Let a second ./gradlew run add nodes to the cluster the first one started (#23221) 2026-10-05 09:51:45 -07:00
TRIAGING.md Add 'ShardManagement:*' labels to Cluster Manager triage search (#14234) 2024-08-07 15:48:31 -05:00
whitesource.config Change whitesource integration to scan on 1.x branch (#1786) 2022-01-03 17:49:09 -08:00

License LFX Health Score LFX Active Contributors OpenSSF Best Practices Code Coverage GitHub release (latest SemVer) Linkedin

Welcome!

OpenSearch is an open-source, enterprise-grade search and observability suite that brings order to unstructured data at scale.

Project Resources

Code of Conduct

The project's Code of Conduct outlines our expectations for all participants in our community, based on the OpenSearch Code of Conduct. Please contact conduct@opensearch.foundation with any additional questions or comments.

Security

If you discover a potential security issue in this project we ask that you notify OpenSearch Security directly via email to security@opensearch.org. Please do not create a public GitHub issue.

License

This project is licensed under the Apache v2.0 License.

Copyright OpenSearch Contributors. See NOTICE for details.

Trademark

OpenSearch is a registered trademark of LF Projects, LLC.

OpenSearch includes certain Apache-licensed Elasticsearch code from Elasticsearch B.V. and other source code. Elasticsearch B.V. is not the source of that other source code. ELASTICSEARCH is a registered trademark of Elasticsearch B.V.