Skip to content

Conversation

@cwperks
Copy link
Member

@cwperks cwperks commented Nov 6, 2025

Description

The PR contains a slight optimization for handling GET _mapping API when a fieldFilter is present (particularly in cases where the user has FLS restrictions on indices). The changes in this PR will filter the mappings once for indices which share the same mappings such as in cases with rollover indices.

There are still many issues with the GET _mapping API and its memory consumption, but the changes in this PR present one further optimization that can be done to improve the performance of this API in some cases.

Related Issues

Related to opensearch-project/OpenSearch-Dashboards#10047

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…mappings in GET _mapping

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

❌ Gradle check result for 6bff013: null

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant