Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field caps - Ability to exclude fields by name #99450

Open
mattkime opened this issue Sep 11, 2023 · 3 comments
Open

Field caps - Ability to exclude fields by name #99450

mattkime opened this issue Sep 11, 2023 · 3 comments
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch

Comments

@mattkime
Copy link

When mapping explosions occur, they're often something like node_id_12345. Unfortunately we don't have a way to exclude these for any field request even though they make the mapping much too large and are best ignored.

The field caps api should support negating wildcards such as -node_id*. This should speed up worst case field loading when mapping explosions are present.

@elasticsearchmachine elasticsearchmachine added the needs:triage Requires assignment of a team area label label Sep 11, 2023
@gwbrown gwbrown added :Search/Search Search-related issues that do not fall into other categories and removed needs:triage Requires assignment of a team area label labels Sep 11, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label Sep 11, 2023
@sophiec20
Copy link
Contributor

sophiec20 commented Sep 12, 2023

We have seen multiple examples where there are 100s of fields which are not relevant for users to see. These extra fields have snuck in due to legacy mapping problems, or ingest errors, or poor schema choices, or bloat in agent collection. Sometimes it just depends on the context. The problem is exacerbated by wide index patterns e.g. logs-* which are common in solutions.

These extra fields create noise and are bad for the user experience in Kibana. They appear in search results, Discover field lists, in data view management, in KQL autocomplete, in Lens builder, in field selection drop downs, etc. Searching for useful fields becomes problematic when there are many useless fields. Having a single unified way in elasticsearch to easily exclude/include the same mappings from searches and from field enumeration would be useful so it can be applied consistently.

At enterprise scale, fixing this via reindex is not a viable option.

@javanna javanna added :Search Foundations/Mapping Index mappings, including merging and defining field types and removed :Search/Search Search-related issues that do not fall into other categories labels Jul 17, 2024
@elasticsearchmachine elasticsearchmachine added Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch and removed Team:Search Meta label for search team labels Jul 17, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch
Projects
None yet
Development

No branches or pull requests

5 participants