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

Make sure to use the resolved type in DocumentMapperService#extractMappings. #37451

Merged
merged 2 commits into from
Jan 15, 2019

Conversation

jtibshirani
Copy link
Contributor

  • Pull out a shared method MapperService#resolveDocumentType.
  • Make sure to resolve the type when extracting the mappings.

Addresses #36811.

…ppings.

* Pull out a shared method MapperService#resolveDocumentType.
* Make sure to resolve the type when extracting the mappings.

Addresses elastic#36811.
@jtibshirani jtibshirani added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0 labels Jan 15, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@jtibshirani
Copy link
Contributor Author

@jpountz this really didn't turn out as cleanly as I hoped -- feel free to make changes, or open a new PR instead.

Copy link
Contributor

@jpountz jpountz left a comment

Choose a reason for hiding this comment

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

This looks good to me, I don't have better ideas... Thanks for tackling it!

@jtibshirani
Copy link
Contributor Author

jtibshirani commented Jan 15, 2019

Thanks for the review! As a note I filed #37450 to track cleaning up the overall approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants