-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Don't send runtime field mappings when the field is not in use #139025
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
CC @elastic/kibana-app-services in case this is actually an issue in your domain |
Elasticsearch will only evaluate the fields if required (e.g. they are used in a filter or in an aggregation). There is a cost attached to them as they have to be sent over the wire with every request so if there are a lot of large runtime fields it might have a certain impact because uploading bytes and Json serialization and parsing isn’t free. however I don’t think it’s worth pursuing this as I don’t think it would make a significant difference in practice and it’s very hard to tell whether a runtime field is used or not (the benefit of runtime fields is that they behave like regular fields in almost every case so you can use them almost everywhere, in query DSL and so on). I’d say let’s wait whether customers actually run into issues with this |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner. |
Describe the feature
Don't send runtime mapping when they aren't in use
Describe a specific use case for the feature:
When I have a runtime field defined
And I am not using it in a visualization
I need Lens to not send the runtime mapping
So I can avoid any extra cost having this mapping has <-- assumption here...does it cost anything? if not we can close this issue
See
dont-request-me
in below vis (that is only doing a date histogram of document counts)The text was updated successfully, but these errors were encountered: