-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip
setIgnoredValues
when there are no ignored values (#108179)
The current logic iterates over all fields in every doc to check for ignored fields, even when no fields were retrieved from _ignored_source. The fix should address the performance regression we noticed, where `setIgnoredValues` dominates cpu time: <img width="1417" alt="Screenshot 2024-05-02 at 12 11 01" src="https://github.com/elastic/elasticsearch/assets/131142368/66c5f944-21d4-41b1-955f-9ca434151cbd"> Related to #106825
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters