Skip to content

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

Closed
kertal wants to merge 15 commits intoelastic:masterfrom
kertal:kertal-pr-2020-09-17-fetch-fields-not-source
Closed

[Discover] Experimental usage of ES fields API - wildcard fields #77722
kertal wants to merge 15 commits intoelastic:masterfrom
kertal:kertal-pr-2020-09-17-fetch-fields-not-source

Conversation

@kertal
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@kibanamachine
Copy link
Copy Markdown
Contributor

kibanamachine commented 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