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

[Maps] only request field in docvalue_fields when the field supports doc values #57372

Merged
merged 10 commits into from
Feb 18, 2020

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Feb 11, 2020

Fixes #56419

Categorical styling combined with geo_shape documents exposed some bugs in the way ESSearchSource generated the _search body. This PR removes all of the hard coded geo_point and geo_shape logic and instead just checks each field to see if the field supports doc_values. If the field supports doc_values then its retrieved from docvalue_fields. If the field does not support doc_values then its retrieved from _source.

Screen Shot 2020-02-11 at 1 35 34 PM

@nreese nreese requested a review from a team as a code owner February 11, 2020 20:38
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese
Copy link
Contributor Author

nreese commented Feb 13, 2020

@elasticmachine merge upstream

@nreese
Copy link
Contributor Author

nreese commented Feb 13, 2020

@elasticmachine merge upstream

@nreese
Copy link
Contributor Author

nreese commented Feb 13, 2020

@elasticmachine merge upstream

@nreese
Copy link
Contributor Author

nreese commented Feb 14, 2020

@elasticmachine merge upstream

@nreese
Copy link
Contributor Author

nreese commented Feb 14, 2020

@elasticmachine merge upstream

@nreese
Copy link
Contributor Author

nreese commented Feb 18, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@nreese nreese merged commit c5ab982 into elastic:master Feb 18, 2020
nreese added a commit to nreese/kibana that referenced this pull request Feb 18, 2020
…doc values (elastic#57372)

* [Maps] only request field in docvalue_fields when the field supports doc values

* do not include scripted fields in sourceOnlyFields

* review feedback

Co-authored-by: Elastic Machine <[email protected]>
nreese added a commit to nreese/kibana that referenced this pull request Feb 18, 2020
…doc values (elastic#57372)

* [Maps] only request field in docvalue_fields when the field supports doc values

* do not include scripted fields in sourceOnlyFields

* review feedback

Co-authored-by: Elastic Machine <[email protected]>
nreese added a commit that referenced this pull request Feb 18, 2020
…doc values (#57372) (#57873)

* [Maps] only request field in docvalue_fields when the field supports doc values

* do not include scripted fields in sourceOnlyFields

* review feedback

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
nreese added a commit that referenced this pull request Feb 18, 2020
…doc values (#57372) (#57872)

* [Maps] only request field in docvalue_fields when the field supports doc values

* do not include scripted fields in sourceOnlyFields

* review feedback

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Maps] ES-query does not include docvalue fields for geo_shape layers
4 participants