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

[Discover] Experimental usage of ES fields API - wildcard fields #77722

Conversation

kertal
Copy link
Member

@kertal kertal commented Sep 17, 2020

Summary

Simular to #75407 with the difference to fetch all fields via wildcard and skipping _source.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@kertal kertal self-assigned this Sep 17, 2020
@kertal kertal added the Feature:Discover Discover Application label Sep 17, 2020
@kertal
Copy link
Member Author

kertal commented Sep 18, 2020

closing cause it was just an experiment

@kertal kertal closed this Sep 18, 2020
Comment on lines +945 to +946
.setField('fieldsApi', ['*'])
.setField('source', false)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@majagrubic all fields are requested instead of source

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so it's the opposite of #75407 where _source is requested and selected fields are added to the requests, here no additional request is needed when columns are added to the table

@kertal kertal changed the title [Discover] POC fetch all fields upfront, skip _source [Discover] Experimental usage of ES fields API - wildcard fields Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants