Skip to content

Conversation

original-brownbear
Copy link
Contributor

No need to check the unmapped array for membership, especially not with itself. The field caps response will not put an index into both unmapped and mapped ever, that woudl be an obvious bug. Also some minor drying up via collection tools we already have in place.
This should save a considerable amount of memory for not having to copy the unmapped fields array.

back port of #99012

No need to check the unmapped array for membership, especially not with
itself. The field caps response will not put an index into both unmapped
and mapped ever, that woudl be an obvious bug. Also some minor drying
up via collection tools we already have in place.
This should save a considerable amount of memory for not having
to copy the unmapped fields array.
@original-brownbear original-brownbear added backport :Analytics/EQL EQL querying auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Sep 4, 2023
@elasticsearchmachine elasticsearchmachine merged commit ac31c1e into elastic:8.10 Sep 4, 2023
@original-brownbear original-brownbear deleted the 99012-8.10 branch September 4, 2023 00:59
@JVerwolf JVerwolf added v8.10.0 and removed v8.10.1 labels Sep 5, 2023
@original-brownbear original-brownbear restored the 99012-8.10 branch November 30, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/EQL EQL querying auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants